Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 90.33 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4559/0.4559, allocations: 78.03 MB / 414.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.456e-05, allocations: 7.984 kB / 491.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3527, allocations: 69.34 MB / 0.5481 GB, free: 20.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.5099, allocations: 112.6 MB / 0.658 GB, free: 3.754 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5103, allocations: 75.97 kB / 0.6581 GB, free: 3.68 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6481/1.158, allocations: 128.8 MB / 0.7838 GB, free: 23.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.158, allocations: 0 / 0.7838 GB, free: 23.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003021/1.159, allocations: 91.88 kB / 0.7839 GB, free: 23.71 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.01575/1.175, allocations: 5.166 MB / 0.789 GB, free: 18.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.175, allocations: 15.97 kB / 0.789 GB, free: 18.47 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001345/1.176, allocations: 387.6 kB / 0.7894 GB, free: 18.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008369/1.184, allocations: 1.461 MB / 0.7908 GB, free: 16.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006595/1.191, allocations: 3.001 MB / 0.7937 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009437/1.192, allocations: 1 MB / 0.7947 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/1.193, allocations: 299.9 kB / 0.795 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005762/1.199, allocations: 3.426 MB / 0.7983 GB, free: 8.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/1.199, allocations: 4 kB / 0.7983 GB, free: 8.586 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003347/1.199, allocations: 108 kB / 0.7984 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/1.199, allocations: 68 kB / 0.7985 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004914/1.204, allocations: 3.2 MB / 0.8016 GB, free: 5.203 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/1.234, allocations: 15.37 MB / 0.8166 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/1.247, allocations: 6.225 MB / 0.8227 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003979/1.251, allocations: 1.952 MB / 0.8246 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000895/1.252, allocations: 0.7699 MB / 0.8254 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004444/1.257, allocations: 2.37 MB / 0.8277 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=331): time 5.781e-06/1.257, allocations: 0 / 0.8277 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.037/1.294, allocations: 11.79 MB / 0.8392 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.294, allocations: 196.7 kB / 0.8394 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008689/1.303, allocations: 3.709 MB / 0.843 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001227/1.304, allocations: 89.83 kB / 0.8431 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001714/1.306, allocations: 1.874 MB / 0.8449 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002263/1.308, allocations: 1.159 MB / 0.8461 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003592/1.308, allocations: 72 kB / 0.8461 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002902/1.309, allocations: 454 kB / 0.8466 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003412/1.312, allocations: 1.753 MB / 0.8483 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003663/1.316, allocations: 2.133 MB / 0.8504 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/1.319, allocations: 1.9 MB / 0.8522 GB, free: 120 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/1.319, allocations: 4 kB / 0.8522 GB, free: 116 kB / 0.5261 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01241/1.332, allocations: 5.911 MB / 0.858 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/1.332, allocations: 12.12 kB / 0.858 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/1.332, allocations: 11.98 kB / 0.858 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02301/1.355, allocations: 9.919 MB / 0.8677 GB, free: 236 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/1.358, allocations: 0.5851 MB / 0.8683 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/1.37, allocations: 5.205 MB / 0.8734 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006381/1.376, allocations: 0.7073 MB / 0.874 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008381/1.377, allocations: 132 kB / 0.8742 GB, free: 9.57 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.0007664/1.378, allocations: 280.4 kB / 0.8744 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.379, allocations: 470.1 kB / 0.8749 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03572/1.415, allocations: 12.2 MB / 0.8868 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.264e-05/1.415, allocations: 32 kB / 0.8868 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.415, allocations: 3.953 kB / 0.8868 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001173/1.415, allocations: 19.94 kB / 0.8868 GB, free: 12.51 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4311/1.846, allocations: 18.1 MB / 0.9045 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-05/1.846, allocations: 5.906 kB / 0.9045 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/1.85, allocations: 433.2 kB / 0.9049 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01448/1.864, allocations: 4.425 MB / 0.9093 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001027/1.865, allocations: 84 kB / 0.9093 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03451/1.9, allocations: 16.44 MB / 0.9254 GB, free: 129.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.9, allocations: 7.391 kB / 0.9254 GB, free: 129.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03734/1.937, allocations: 14.86 MB / 0.9399 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/1.939, allocations: 0.7073 MB / 0.9406 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.941, allocations: 69.62 kB / 0.9407 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004468/1.945, allocations: 0.4892 MB / 0.9412 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002181/1.947, allocations: 0.6211 MB / 0.9418 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002893/1.948, allocations: 93.86 kB / 0.9419 GB, free: 128.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004234/1.952, allocations: 2.795 MB / 0.9446 GB, free: 127.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.41e-07/1.952, allocations: 0 / 0.9446 GB, free: 127.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00401/1.956, allocations: 1.273 MB / 0.9458 GB, free: 127.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.03735/1.993, allocations: 15.84 MB / 0.9613 GB, free: 122.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0165/2.01, allocations: 6.102 MB / 0.9673 GB, free: 119.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/2.01, allocations: 1.375 kB / 0.9673 GB, free: 119.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01134/2.021, allocations: 4.322 MB / 0.9715 GB, free: 116.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/2.025, allocations: 392.6 kB / 0.9719 GB, free: 115.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/2.042, allocations: 8.265 MB / 0.9799 GB, free: 108.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/2.044, allocations: 2.422 MB / 0.9823 GB, free: 106.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002199/2.046, allocations: 405.2 kB / 0.9827 GB, free: 106.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002736/2.048, allocations: 1.97 MB / 0.9846 GB, free: 104.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.213e-06/2.049, allocations: 0 / 0.9846 GB, free: 104.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.143/2.192, allocations: 107 MB / 1.089 GB, free: 15.65 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/2.192, allocations: 179 kB / 1.089 GB, free: 15.41 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.912/8.104, allocations: 0 / 1.089 GB, free: 15.41 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)