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.001302/0.001302, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.352/1.352, allocations: 222.9 MB / 238.8 MB, free: 4.77 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.001659/0.001658, allocations: 192.3 kB / 289.1 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4486/0.4486, allocations: 78.52 MB / 417.8 MB, free: 3.375 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 75.88 kB / 496.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1589, allocations: 68.17 MB / 0.5518 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2952/0.4542, allocations: 20.21 MB / 0.5715 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.4667, allocations: 6.476 MB / 0.5778 GB, free: 25.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/0.4704, allocations: 45.5 kB / 0.5779 GB, free: 25.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.4728, allocations: 0.7646 MB / 0.5786 GB, free: 25.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006353/0.4792, allocations: 2.37 MB / 0.5809 GB, free: 24.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.4831, allocations: 2.017 MB / 0.5829 GB, free: 23.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007344/0.4904, allocations: 6.791 MB / 0.5896 GB, free: 19.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.4922, allocations: 1.208 MB / 0.5907 GB, free: 19.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003931/0.4961, allocations: 2.284 MB / 0.593 GB, free: 18.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003483/0.4996, allocations: 2.994 MB / 0.5959 GB, free: 16.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008611/0.5005, allocations: 299.8 kB / 0.5962 GB, free: 16.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.5021, allocations: 0.5424 MB / 0.5967 GB, free: 16.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009183/0.503, allocations: 1.113 MB / 0.5978 GB, free: 16.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002592/0.5056, allocations: 2.465 MB / 0.6002 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.5157, allocations: 7.832 MB / 0.6078 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5157, allocations: 1.031 kB / 0.6078 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5157, allocations: 0 / 0.6078 GB, free: 11.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003341/0.5161, allocations: 0 / 0.6078 GB, free: 11.52 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.04803/0.5641, allocations: 10.55 MB / 0.6181 GB, free: 7.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.5642, allocations: 9.562 kB / 0.6182 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007764/0.565, allocations: 392 kB / 0.6185 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.5771, allocations: 1.937 MB / 0.6204 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008147/0.5853, allocations: 3.353 MB / 0.6237 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001069/0.5864, allocations: 1.008 MB / 0.6247 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/0.5879, allocations: 331.8 kB / 0.625 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008958/0.5968, allocations: 3.953 MB / 0.6289 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-05/0.5969, allocations: 3.938 kB / 0.6289 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003417/0.5973, allocations: 107 kB / 0.629 GB, free: 152 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.457e-05/0.5973, allocations: 69.78 kB / 0.629 GB, free: 148 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008496/0.6058, allocations: 3.806 MB / 0.6327 GB, free: 12.51 MB / 446.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.02989/0.6357, allocations: 15.58 MB / 0.648 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/0.6507, allocations: 6.466 MB / 0.6543 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005148/0.6559, allocations: 2.436 MB / 0.6566 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009056/0.6568, allocations: 0.7621 MB / 0.6574 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006471/0.6633, allocations: 2.867 MB / 0.6602 GB, free: 15.39 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 4.919e-06/0.6634, allocations: 0 / 0.6602 GB, free: 15.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1044/0.7678, allocations: 25.85 MB / 0.6854 GB, free: 5.441 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.7679, allocations: 196.9 kB / 0.6856 GB, free: 5.211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/0.778, allocations: 4.538 MB / 0.6901 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001639/0.7797, allocations: 99.58 kB / 0.6902 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.7814, allocations: 1.747 MB / 0.6919 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002653/0.7841, allocations: 1.206 MB / 0.693 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/0.7864, allocations: 1.059 MB / 0.6941 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.7865, allocations: 305.1 kB / 0.6944 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00637/0.7929, allocations: 3.018 MB / 0.6973 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007048/0.8, allocations: 3.538 MB / 0.7008 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/0.8132, allocations: 6.11 MB / 0.7067 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/0.8132, allocations: 0 / 0.7067 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02602/0.8392, allocations: 9.397 MB / 0.7159 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.8393, allocations: 8 kB / 0.7159 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.377e-05/0.8394, allocations: 8 kB / 0.7159 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02683/0.8662, allocations: 10.29 MB / 0.726 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005694/0.872, allocations: 0.9869 MB / 0.7269 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/0.891, allocations: 6.287 MB / 0.7331 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00933/0.9004, allocations: 0.737 MB / 0.7338 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00169/0.9021, allocations: 192.9 kB / 0.734 GB, free: 3.316 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 ($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.00436/0.9065, allocations: 0.767 MB / 0.7347 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002651/0.9092, allocations: 466.1 kB / 0.7352 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03927/0.9485, allocations: 11.61 MB / 0.7465 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-05/0.9486, allocations: 32.94 kB / 0.7465 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/0.9486, allocations: 4 kB / 0.7465 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001212/0.9487, allocations: 15.94 kB / 0.7466 GB, free: 6.348 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.05216/1.001, allocations: 17.69 MB / 0.7638 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/1.001, allocations: 3.938 kB / 0.7638 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/1.004, allocations: 440.6 kB / 0.7643 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3094/1.314, allocations: 4.748 MB / 0.7689 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001298/1.315, allocations: 81.56 kB / 0.769 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0464/1.361, allocations: 19.61 MB / 0.7881 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.362, allocations: 0 / 0.7881 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04676/1.408, allocations: 14.76 MB / 0.8025 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/1.411, allocations: 0.6989 MB / 0.8032 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002038/1.413, allocations: 67.36 kB / 0.8033 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005434/1.418, allocations: 388.5 kB / 0.8037 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003056/1.422, allocations: 0.6108 MB / 0.8043 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005082/1.422, allocations: 87.47 kB / 0.8043 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007452/1.429, allocations: 2.99 MB / 0.8073 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.01e-07/1.43, allocations: 0 / 0.8073 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008051/1.438, allocations: 1.436 MB / 0.8087 GB, free: 154.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.0434/1.481, allocations: 15.24 MB / 0.8235 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02214/1.503, allocations: 7.855 MB / 0.8312 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.503, allocations: 5.375 kB / 0.8312 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01261/1.516, allocations: 4.411 MB / 0.8355 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004498/1.52, allocations: 404.6 kB / 0.8359 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1243/1.645, allocations: 64.65 MB / 0.8991 GB, free: 72.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/1.646, allocations: 2.337 MB / 0.9013 GB, free: 70.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002439/1.649, allocations: 454.8 kB / 0.9018 GB, free: 69.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002444/1.651, allocations: 1.981 MB / 0.9037 GB, free: 67.71 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/1.651, allocations: 0 / 0.9037 GB, free: 67.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4525/2.104, allocations: 114.5 MB / 1.015 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/2.104, allocations: 223.5 kB / 1.016 GB, free: 166 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.513/7.617, allocations: 1.281 kB / 1.016 GB, free: 166 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/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)