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.001623/0.001623, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 239.3 MB, free: 4.613 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.001602/0.001603, allocations: 192.5 kB / 289.6 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5557/0.5557, allocations: 91.9 MB / 431.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 75.88 kB / 0.502 GB, free: 7.688 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.456, allocations: 71.26 MB / 0.5716 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01516/0.4712, allocations: 19.55 MB / 0.5907 GB, free: 23.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.4844, allocations: 6.395 MB / 0.5969 GB, free: 18.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00544/0.4898, allocations: 39.12 kB / 0.5969 GB, free: 18.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.4943, allocations: 0.9754 MB / 0.5979 GB, free: 18.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009768/0.5041, allocations: 2.407 MB / 0.6002 GB, free: 16.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006456/0.5106, allocations: 2.172 MB / 0.6024 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.5219, allocations: 6.991 MB / 0.6092 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003447/0.5254, allocations: 1.326 MB / 0.6105 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005397/0.5308, allocations: 2.662 MB / 0.6131 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006237/0.5371, allocations: 3.284 MB / 0.6163 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003473/0.5406, allocations: 0.6717 MB / 0.6169 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/0.5447, allocations: 0.9559 MB / 0.6179 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003072/0.5478, allocations: 1.468 MB / 0.6193 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006906/0.5547, allocations: 2.839 MB / 0.6221 GB, free: 4.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.5688, allocations: 8.069 MB / 0.63 GB, free: 232 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5688, allocations: 4 kB / 0.63 GB, free: 228 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5688, allocations: 0 / 0.63 GB, free: 228 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003665/0.5692, allocations: 3.938 kB / 0.63 GB, free: 224 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.04609/0.6153, allocations: 9.73 MB / 0.6395 GB, free: 9.016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6154, allocations: 8.031 kB / 0.6395 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001547/0.6169, allocations: 383.6 kB / 0.6398 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/0.6306, allocations: 1.945 MB / 0.6417 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00976/0.6404, allocations: 3.355 MB / 0.645 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001447/0.6419, allocations: 1.005 MB / 0.646 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/0.6436, allocations: 327.8 kB / 0.6463 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.6559, allocations: 3.953 MB / 0.6502 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.656, allocations: 0 / 0.6502 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009027/0.6569, allocations: 112 kB / 0.6503 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.514e-05/0.657, allocations: 67.94 kB / 0.6503 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.6673, allocations: 3.804 MB / 0.6541 GB, free: 9.734 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.03791/0.7053, allocations: 15.59 MB / 0.6693 GB, free: 9.555 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01758/0.7229, allocations: 6.455 MB / 0.6756 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006213/0.7292, allocations: 2.438 MB / 0.678 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.7304, allocations: 0.766 MB / 0.6787 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007862/0.7383, allocations: 2.864 MB / 0.6815 GB, free: 12.56 MB / 494.1 MB Notification: Performance of pre-optimization done (n=331): time 9.347e-06/0.7383, allocations: 8 kB / 0.6815 GB, free: 12.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=331): time 0.1142/0.8525, allocations: 25.85 MB / 0.7068 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.8527, allocations: 192.8 kB / 0.7069 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01185/0.8646, allocations: 4.537 MB / 0.7114 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001573/0.8662, allocations: 105.7 kB / 0.7115 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002504/0.8687, allocations: 1.743 MB / 0.7132 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002905/0.8716, allocations: 1.206 MB / 0.7144 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006098/0.8777, allocations: 1.059 MB / 0.7154 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.8779, allocations: 305.1 kB / 0.7157 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008822/0.8868, allocations: 3.018 MB / 0.7186 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009093/0.8959, allocations: 3.541 MB / 0.7221 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/0.9121, allocations: 6.11 MB / 0.7281 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.489e-05/0.9122, allocations: 0 / 0.7281 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.03067/0.9429, allocations: 9.397 MB / 0.7372 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.943, allocations: 8 kB / 0.7372 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.625e-05/0.943, allocations: 11.98 kB / 0.7373 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02807/0.9711, allocations: 10.3 MB / 0.7473 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005543/0.9767, allocations: 0.9946 MB / 0.7483 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/0.997, allocations: 6.291 MB / 0.7544 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009609/1.007, allocations: 0.7292 MB / 0.7551 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/1.008, allocations: 188 kB / 0.7553 GB, free: 468 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.00406/1.013, allocations: 0.7704 MB / 0.7561 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002346/1.015, allocations: 462.1 kB / 0.7565 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0427/1.058, allocations: 11.61 MB / 0.7679 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.413e-05/1.058, allocations: 36 kB / 0.7679 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-05/1.058, allocations: 0 / 0.7679 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001439/1.058, allocations: 19.94 kB / 0.7679 GB, free: 3.484 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.3597/1.418, allocations: 17.69 MB / 0.7852 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/1.418, allocations: 1.719 kB / 0.7852 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003086/1.421, allocations: 432.9 kB / 0.7856 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01737/1.438, allocations: 4.764 MB / 0.7902 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001236/1.439, allocations: 76.27 kB / 0.7903 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05754/1.497, allocations: 21.49 MB / 0.8113 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.497, allocations: 1.344 kB / 0.8113 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04476/1.542, allocations: 14.77 MB / 0.8257 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.544, allocations: 0.6969 MB / 0.8264 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001777/1.546, allocations: 72 kB / 0.8265 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005435/1.551, allocations: 382.9 kB / 0.8268 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002439/1.554, allocations: 0.6223 MB / 0.8274 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003553/1.554, allocations: 87.64 kB / 0.8275 GB, free: 139 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005296/1.559, allocations: 2.992 MB / 0.8305 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.71e-07/1.559, allocations: 0 / 0.8305 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006109/1.566, allocations: 1.436 MB / 0.8319 GB, free: 135.1 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.0433/1.609, allocations: 15.24 MB / 0.8467 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02754/1.636, allocations: 8.158 MB / 0.8547 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.637, allocations: 1.594 kB / 0.8547 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01387/1.65, allocations: 4.503 MB / 0.8591 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.007026/1.657, allocations: 411.2 kB / 0.8595 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1425/1.8, allocations: 63.23 MB / 0.9212 GB, free: 40.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002826/1.803, allocations: 2.341 MB / 0.9235 GB, free: 37.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00343/1.806, allocations: 453.2 kB / 0.924 GB, free: 37.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004169/1.81, allocations: 1.995 MB / 0.9259 GB, free: 35.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.81, allocations: 0 / 0.9259 GB, free: 35.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.445/2.256, allocations: 122.1 MB / 1.045 GB, free: 198.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/17.17, allocations: 5.234 kB / 1.045 GB, free: 198.8 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 0.001 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)