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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.548/1.548, allocations: 223.2 MB / 239 MB, free: 5.609 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.0014/0.0014, allocations: 176.5 kB / 290.3 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5449/0.5449, allocations: 78.55 MB / 419.9 MB, free: 4.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003968, allocations: 12 kB / 499.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1723, allocations: 69.36 MB / 0.5559 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.3612/0.5335, allocations: 17.95 MB / 0.5734 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.5475, allocations: 6.202 MB / 0.5795 GB, free: 27.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007462/0.5551, allocations: 45.06 kB / 0.5795 GB, free: 27.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004935/0.56, allocations: 0.6788 MB / 0.5802 GB, free: 27.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01181/0.5719, allocations: 2.112 MB / 0.5823 GB, free: 25.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.5775, allocations: 1.563 MB / 0.5838 GB, free: 25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.5894, allocations: 6.398 MB / 0.59 GB, free: 21.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003886/0.5934, allocations: 1.045 MB / 0.591 GB, free: 21.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005708/0.5991, allocations: 2.12 MB / 0.5931 GB, free: 20.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006366/0.6055, allocations: 2.793 MB / 0.5958 GB, free: 19.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002918/0.6085, allocations: 250.5 kB / 0.5961 GB, free: 19.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/0.6127, allocations: 489.8 kB / 0.5966 GB, free: 19.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003092/0.6158, allocations: 0.9991 MB / 0.5975 GB, free: 18.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003433/0.6193, allocations: 0.8423 MB / 0.5983 GB, free: 18.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.632, allocations: 6.393 MB / 0.6046 GB, free: 16.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.6321, allocations: 0.8125 kB / 0.6046 GB, free: 16.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.6321, allocations: 0 / 0.6046 GB, free: 16.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004279/0.6325, allocations: 3.938 kB / 0.6046 GB, free: 16.57 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.04751/0.6801, allocations: 9.92 MB / 0.6143 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.805e-05/0.6802, allocations: 10.69 kB / 0.6143 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002734/0.6829, allocations: 388.7 kB / 0.6147 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/0.6978, allocations: 1.951 MB / 0.6166 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.7117, allocations: 3.196 MB / 0.6197 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001814/0.7136, allocations: 1.03 MB / 0.6207 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002804/0.7165, allocations: 327 kB / 0.621 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/0.7332, allocations: 4.118 MB / 0.625 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/0.7335, allocations: 1.281 kB / 0.625 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001565/0.7351, allocations: 110.6 kB / 0.6251 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.7352, allocations: 69.53 kB / 0.6252 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.7485, allocations: 3.995 MB / 0.6291 GB, free: 3.168 MB / 430.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.04758/0.7961, allocations: 15.78 MB / 0.6445 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01902/0.8152, allocations: 7.179 MB / 0.6515 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006964/0.8223, allocations: 2.611 MB / 0.6541 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.8237, allocations: 0.7738 MB / 0.6548 GB, free: 7.859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009025/0.8328, allocations: 3.038 MB / 0.6578 GB, free: 4.766 MB / 462.1 MB Notification: Performance of pre-optimization done (n=331): time 1.329e-05/0.8329, allocations: 0 / 0.6578 GB, free: 4.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.114/0.9468, allocations: 30.26 MB / 0.6873 GB, free: 6.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.947, allocations: 192.9 kB / 0.6875 GB, free: 6.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0139/0.961, allocations: 4.501 MB / 0.6919 GB, free: 1.688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002065/0.9631, allocations: 101.7 kB / 0.692 GB, free: 1.582 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002893/0.966, allocations: 1.743 MB / 0.6937 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00352/0.9695, allocations: 1.198 MB / 0.6949 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002226/0.9718, allocations: 116 kB / 0.695 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0007035/0.9725, allocations: 0.5182 MB / 0.6955 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01005/0.9826, allocations: 3.182 MB / 0.6986 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/0.9927, allocations: 3.709 MB / 0.7022 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.003, allocations: 3.411 MB / 0.7056 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.256e-05/1.003, allocations: 3.938 kB / 0.7056 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.03435/1.037, allocations: 9.96 MB / 0.7153 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/1.038, allocations: 8 kB / 0.7153 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-05/1.038, allocations: 8 kB / 0.7153 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03126/1.069, allocations: 11.09 MB / 0.7261 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00708/1.076, allocations: 0.9918 MB / 0.7271 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02334/1.1, allocations: 6.975 MB / 0.7339 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009691/1.109, allocations: 0.8348 MB / 0.7347 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002102/1.111, allocations: 191.9 kB / 0.7349 GB, free: 5.363 MB / 0.5294 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 () * 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 (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.005277/1.117, allocations: 0.7635 MB / 0.7357 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003046/1.12, allocations: 477.9 kB / 0.7361 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04421/1.164, allocations: 13.96 MB / 0.7498 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.208e-05/1.164, allocations: 36 kB / 0.7498 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/1.164, allocations: 0 / 0.7498 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001448/1.164, allocations: 15.94 kB / 0.7498 GB, free: 6.051 MB / 0.545 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.06001/1.224, allocations: 20.04 MB / 0.7694 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/1.224, allocations: 5.594 kB / 0.7694 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/1.228, allocations: 435.5 kB / 0.7698 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3954/1.623, allocations: 5.564 MB / 0.7752 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001357/1.625, allocations: 85.47 kB / 0.7753 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05436/1.679, allocations: 22 MB / 0.7968 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.679, allocations: 2.25 kB / 0.7968 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05402/1.733, allocations: 17.28 MB / 0.8137 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002599/1.736, allocations: 0.7139 MB / 0.8144 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002344/1.738, allocations: 67.81 kB / 0.8144 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005663/1.744, allocations: 0.4892 MB / 0.8149 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002779/1.747, allocations: 0.6205 MB / 0.8155 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004721/1.747, allocations: 90.64 kB / 0.8156 GB, free: 155 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00585/1.753, allocations: 2.954 MB / 0.8185 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.094e-06/1.753, allocations: 3.938 kB / 0.8185 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007835/1.761, allocations: 1.438 MB / 0.8199 GB, free: 153.6 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 (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.04386/1.805, allocations: 17.71 MB / 0.8372 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02526/1.83, allocations: 8.584 MB / 0.8456 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.83, allocations: 1.375 kB / 0.8456 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01514/1.845, allocations: 4.975 MB / 0.8504 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008824/1.854, allocations: 408.2 kB / 0.8508 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1133/1.968, allocations: 46.05 MB / 0.8958 GB, free: 79.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00281/1.971, allocations: 2.334 MB / 0.8981 GB, free: 77.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003732/1.974, allocations: 454 kB / 0.8985 GB, free: 76.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004486/1.979, allocations: 1.979 MB / 0.9004 GB, free: 74.83 MB / 0.5606 GB Notification: Performance of SimCode: time 1.984e-06/1.979, allocations: 0 / 0.9004 GB, free: 74.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5151/2.494, allocations: 113.6 MB / 1.011 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/2.494, allocations: 210 kB / 1.012 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.485/8.979, allocations: 0 / 1.012 GB, free: 173.5 MB / 0.5762 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) Environment - environmentSimulation: