Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 222.9 MB / 238.9 MB, free: 4.781 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 188.5 kB / 289.1 MB, free: 2.527 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6139/0.6139, allocations: 91.9 MB / 431.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 79.88 kB / 0.5013 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5189, allocations: 71.26 MB / 0.5709 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01626/0.5352, allocations: 20.25 MB / 0.5907 GB, free: 22.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.5514, allocations: 6.487 MB / 0.597 GB, free: 18.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006845/0.5583, allocations: 45.88 kB / 0.5971 GB, free: 18.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004747/0.563, allocations: 0.767 MB / 0.5978 GB, free: 17.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.5737, allocations: 2.096 MB / 0.5998 GB, free: 16.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00687/0.5806, allocations: 2.021 MB / 0.6018 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01272/0.5933, allocations: 6.487 MB / 0.6082 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004065/0.5974, allocations: 1.204 MB / 0.6093 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006642/0.6041, allocations: 2.239 MB / 0.6115 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007547/0.6117, allocations: 2.959 MB / 0.6144 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004181/0.6159, allocations: 300.4 kB / 0.6147 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00502/0.621, allocations: 0.5529 MB / 0.6152 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003821/0.6248, allocations: 1.088 MB / 0.6163 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008467/0.6333, allocations: 2.45 MB / 0.6187 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.6478, allocations: 7.796 MB / 0.6263 GB, free: 2.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6479, allocations: 0 / 0.6263 GB, free: 2.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6479, allocations: 0 / 0.6263 GB, free: 2.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003721/0.6483, allocations: 0 / 0.6263 GB, free: 2.617 MB / 430.1 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.04805/0.6963, allocations: 9.733 MB / 0.6358 GB, free: 12.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.062e-05/0.6964, allocations: 8.031 kB / 0.6358 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00221/0.6987, allocations: 395.6 kB / 0.6362 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/0.7127, allocations: 1.929 MB / 0.6381 GB, free: 9.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.7233, allocations: 3.355 MB / 0.6414 GB, free: 6.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001408/0.7247, allocations: 1.005 MB / 0.6423 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/0.7267, allocations: 331.8 kB / 0.6427 GB, free: 4.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.7414, allocations: 3.945 MB / 0.6465 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001711/0.7416, allocations: 3.938 kB / 0.6465 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001516/0.7431, allocations: 112 kB / 0.6466 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/0.7432, allocations: 67.94 kB / 0.6467 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/0.7564, allocations: 3.8 MB / 0.6504 GB, free: 12.97 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.04271/0.7991, allocations: 15.59 MB / 0.6656 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01835/0.8175, allocations: 6.459 MB / 0.6719 GB, free: 6.098 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006809/0.8244, allocations: 2.439 MB / 0.6743 GB, free: 3.637 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.8257, allocations: 0.766 MB / 0.6751 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008451/0.8342, allocations: 2.868 MB / 0.6779 GB, free: 15.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=331): time 1.357e-05/0.8343, allocations: 0 / 0.6779 GB, free: 15.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=331): time 0.1127/0.947, allocations: 25.85 MB / 0.7031 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.9472, allocations: 192.8 kB / 0.7033 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01241/0.9596, allocations: 4.537 MB / 0.7077 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001442/0.9611, allocations: 97.7 kB / 0.7078 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002437/0.9636, allocations: 1.751 MB / 0.7095 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002941/0.9665, allocations: 1.202 MB / 0.7107 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006249/0.9728, allocations: 1.066 MB / 0.7117 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.973, allocations: 305.1 kB / 0.712 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008714/0.9817, allocations: 3.022 MB / 0.715 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009794/0.9915, allocations: 3.537 MB / 0.7184 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01716/1.009, allocations: 6.106 MB / 0.7244 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-05/1.009, allocations: 4 kB / 0.7244 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.03265/1.042, allocations: 9.385 MB / 0.7336 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/1.042, allocations: 8 kB / 0.7336 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-05/1.042, allocations: 8 kB / 0.7336 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0268/1.068, allocations: 10.3 MB / 0.7436 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005782/1.074, allocations: 0.9869 MB / 0.7446 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/1.094, allocations: 6.291 MB / 0.7507 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008998/1.103, allocations: 0.7292 MB / 0.7514 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001762/1.105, allocations: 203.9 kB / 0.7516 GB, free: 3.699 MB / 0.545 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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.004534/1.109, allocations: 0.7625 MB / 0.7524 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002813/1.112, allocations: 466.1 kB / 0.7528 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04304/1.155, allocations: 11.61 MB / 0.7642 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.131e-05/1.155, allocations: 32 kB / 0.7642 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/1.155, allocations: 3.984 kB / 0.7642 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001304/1.155, allocations: 19.94 kB / 0.7642 GB, free: 6.73 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.348/1.503, allocations: 17.69 MB / 0.7815 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/1.503, allocations: 5.156 kB / 0.7815 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/1.507, allocations: 431.9 kB / 0.7819 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01656/1.523, allocations: 4.757 MB / 0.7866 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001364/1.525, allocations: 79.66 kB / 0.7866 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0536/1.578, allocations: 19.6 MB / 0.8058 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.578, allocations: 5.406 kB / 0.8058 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0445/1.623, allocations: 14.77 MB / 0.8202 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003082/1.626, allocations: 0.6946 MB / 0.8209 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002945/1.629, allocations: 68 kB / 0.821 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006036/1.635, allocations: 389.5 kB / 0.8213 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002994/1.638, allocations: 0.6059 MB / 0.8219 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007314/1.639, allocations: 95.69 kB / 0.822 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006405/1.645, allocations: 2.987 MB / 0.8249 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.062e-06/1.645, allocations: 0 / 0.8249 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007855/1.653, allocations: 1.439 MB / 0.8263 GB, free: 139.2 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04286/1.696, allocations: 15.23 MB / 0.8412 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02115/1.717, allocations: 7.86 MB / 0.8489 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.717, allocations: 1.375 kB / 0.8489 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01309/1.73, allocations: 4.416 MB / 0.8532 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005493/1.736, allocations: 389.4 kB / 0.8536 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1425/1.878, allocations: 64.67 MB / 0.9167 GB, free: 44.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/1.88, allocations: 2.337 MB / 0.919 GB, free: 41.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002696/1.883, allocations: 449.2 kB / 0.9194 GB, free: 41.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002705/1.885, allocations: 1.975 MB / 0.9214 GB, free: 39.25 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/1.885, allocations: 0 / 0.9214 GB, free: 39.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5186/2.404, allocations: 114.5 MB / 1.033 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/2.404, allocations: 221.1 kB / 1.033 GB, free: 189.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.012/8.416, allocations: 0.7812 kB / 1.033 GB, free: 189.5 MB / 0.6075 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)