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.001427/0.001433, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.406/1.406, allocations: 222.9 MB / 239 MB, free: 4.703 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.001723/0.001724, allocations: 180.5 kB / 289.3 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.54/0.54, allocations: 91.91 MB / 431.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001728, allocations: 75.89 kB / 0.5015 GB, free: 7.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3837, allocations: 71.25 MB / 0.5711 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01392/0.3976, allocations: 20.26 MB / 0.5909 GB, free: 22.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.4105, allocations: 6.469 MB / 0.5972 GB, free: 17.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005177/0.4157, allocations: 47.16 kB / 0.5972 GB, free: 17.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003754/0.4195, allocations: 0.7574 MB / 0.598 GB, free: 17.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008046/0.4276, allocations: 2.085 MB / 0.6 GB, free: 16.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005192/0.4328, allocations: 2.023 MB / 0.602 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009421/0.4423, allocations: 7.003 MB / 0.6088 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003057/0.4453, allocations: 1.317 MB / 0.6101 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005077/0.4504, allocations: 2.682 MB / 0.6127 GB, free: 9.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005373/0.4558, allocations: 3.283 MB / 0.6159 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003022/0.4589, allocations: 0.673 MB / 0.6166 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004011/0.4629, allocations: 0.9528 MB / 0.6175 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00301/0.466, allocations: 1.463 MB / 0.6189 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006705/0.4727, allocations: 2.859 MB / 0.6217 GB, free: 4.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.4857, allocations: 8.064 MB / 0.6296 GB, free: 284 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4858, allocations: 5.531 kB / 0.6296 GB, free: 280 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4858, allocations: 0 / 0.6296 GB, free: 280 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003239/0.4861, allocations: 0 / 0.6296 GB, free: 280 kB / 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.04526/0.5314, allocations: 9.737 MB / 0.6391 GB, free: 8.973 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.5314, allocations: 8.031 kB / 0.6391 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001679/0.5331, allocations: 387.6 kB / 0.6395 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/0.5465, allocations: 1.937 MB / 0.6414 GB, free: 6.629 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009558/0.5561, allocations: 3.355 MB / 0.6447 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0014/0.5575, allocations: 1.005 MB / 0.6456 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.5592, allocations: 331.8 kB / 0.646 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.5715, allocations: 3.953 MB / 0.6498 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/0.5716, allocations: 3.938 kB / 0.6498 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009745/0.5726, allocations: 112 kB / 0.6499 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.047e-05/0.5727, allocations: 67.94 kB / 0.65 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.583, allocations: 3.8 MB / 0.6537 GB, free: 9.691 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.03748/0.6205, allocations: 15.58 MB / 0.6689 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01803/0.6386, allocations: 6.459 MB / 0.6752 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006255/0.6449, allocations: 2.441 MB / 0.6776 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.6461, allocations: 0.766 MB / 0.6784 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007912/0.6541, allocations: 2.861 MB / 0.6812 GB, free: 12.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=331): time 1.108e-05/0.6541, allocations: 0 / 0.6812 GB, free: 12.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=331): time 0.114/0.7682, allocations: 25.85 MB / 0.7064 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.7683, allocations: 200.8 kB / 0.7066 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/0.7797, allocations: 4.533 MB / 0.711 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001826/0.7816, allocations: 105.7 kB / 0.7111 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003104/0.7847, allocations: 1.747 MB / 0.7128 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002903/0.7877, allocations: 1.202 MB / 0.714 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00575/0.7934, allocations: 1.063 MB / 0.715 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.7936, allocations: 305.1 kB / 0.7153 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008097/0.8017, allocations: 3.018 MB / 0.7183 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008946/0.8107, allocations: 3.537 MB / 0.7217 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01689/0.8276, allocations: 6.102 MB / 0.7277 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-05/0.8277, allocations: 0 / 0.7277 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02956/0.8573, allocations: 9.397 MB / 0.7369 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.8574, allocations: 8 kB / 0.7369 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-05/0.8574, allocations: 8 kB / 0.7369 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0278/0.8852, allocations: 10.3 MB / 0.7469 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005689/0.891, allocations: 0.9908 MB / 0.7479 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/0.9107, allocations: 6.291 MB / 0.7541 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009067/0.9198, allocations: 0.7292 MB / 0.7548 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00173/0.9216, allocations: 188 kB / 0.7549 GB, free: 440 kB / 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.004272/0.9259, allocations: 0.7743 MB / 0.7557 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00247/0.9284, allocations: 462.1 kB / 0.7561 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04142/0.9698, allocations: 11.61 MB / 0.7675 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/0.9699, allocations: 36 kB / 0.7675 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.9699, allocations: 0 / 0.7675 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/0.9701, allocations: 19.94 kB / 0.7675 GB, free: 3.453 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.3045/1.275, allocations: 17.69 MB / 0.7848 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.024e-05/1.275, allocations: 0.6094 kB / 0.7848 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003305/1.278, allocations: 437.2 kB / 0.7852 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01785/1.296, allocations: 4.764 MB / 0.7899 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/1.297, allocations: 82.59 kB / 0.79 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07481/1.372, allocations: 21.48 MB / 0.8109 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1.372, allocations: 4.875 kB / 0.8109 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04998/1.422, allocations: 14.78 MB / 0.8254 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002361/1.424, allocations: 0.6844 MB / 0.826 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002238/1.427, allocations: 69.09 kB / 0.8261 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006103/1.433, allocations: 383.2 kB / 0.8265 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00307/1.436, allocations: 0.6264 MB / 0.8271 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008493/1.437, allocations: 91.69 kB / 0.8272 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006687/1.443, allocations: 2.992 MB / 0.8301 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.3e-07/1.443, allocations: 0 / 0.8301 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007104/1.45, allocations: 1.436 MB / 0.8315 GB, free: 135.4 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.04429/1.495, allocations: 15.25 MB / 0.8464 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02686/1.522, allocations: 8.152 MB / 0.8543 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.522, allocations: 0 / 0.8543 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01318/1.535, allocations: 4.5 MB / 0.8587 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006289/1.541, allocations: 410.5 kB / 0.8591 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1403/1.682, allocations: 64.66 MB / 0.9223 GB, free: 38.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/1.683, allocations: 2.345 MB / 0.9246 GB, free: 36.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002606/1.686, allocations: 453.1 kB / 0.925 GB, free: 36.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002612/1.688, allocations: 1.995 MB / 0.9269 GB, free: 34.14 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/1.688, allocations: 0 / 0.9269 GB, free: 34.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.498/2.186, allocations: 118.8 MB / 1.043 GB, free: 199 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/2.186, allocations: 225.7 kB / 1.043 GB, free: 198.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.127/8.313, allocations: 4 kB / 1.043 GB, free: 198.7 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)