Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001098, 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.459/1.459, allocations: 222.9 MB / 239 MB, free: 4.684 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.001762/0.001762, allocations: 200.4 kB / 289.3 MB, free: 2.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5376/0.5376, allocations: 91.9 MB / 431.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001647, allocations: 75.89 kB / 0.5014 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.435, allocations: 71.26 MB / 0.571 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01144/0.4465, allocations: 15.79 MB / 0.5864 GB, free: 25.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.457, allocations: 4.709 MB / 0.591 GB, free: 22.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004347/0.4614, allocations: 28.75 kB / 0.591 GB, free: 22.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.4643, allocations: 0.6203 MB / 0.5916 GB, free: 22.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007021/0.4714, allocations: 1.643 MB / 0.5932 GB, free: 21.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.4749, allocations: 1.321 MB / 0.5945 GB, free: 20.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007396/0.4823, allocations: 4.497 MB / 0.5989 GB, free: 18.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.4843, allocations: 0.7937 MB / 0.5997 GB, free: 17.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004538/0.4888, allocations: 1.814 MB / 0.6015 GB, free: 16.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00475/0.4936, allocations: 2.371 MB / 0.6038 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001991/0.4956, allocations: 404 kB / 0.6042 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.4989, allocations: 0.6378 MB / 0.6048 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00188/0.5008, allocations: 0.9491 MB / 0.6057 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005395/0.5062, allocations: 1.982 MB / 0.6076 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.5184, allocations: 5.214 MB / 0.6127 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.5185, allocations: 0 / 0.6127 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.439e-06/0.5185, allocations: 1.375 kB / 0.6127 GB, free: 11.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003815/0.5189, allocations: 0 / 0.6127 GB, free: 11.25 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: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03804/0.557, allocations: 8.155 MB / 0.6207 GB, free: 8.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.557, allocations: 9.688 kB / 0.6207 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.5691, allocations: 1.754 MB / 0.6224 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005729/0.5749, allocations: 2.174 MB / 0.6245 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007795/0.5757, allocations: 0.6676 MB / 0.6252 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.5768, allocations: 237.8 kB / 0.6254 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006536/0.5833, allocations: 2.683 MB / 0.628 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.5834, allocations: 0 / 0.628 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.5836, allocations: 83.98 kB / 0.6281 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.5836, allocations: 48 kB / 0.6282 GB, free: 3.965 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005221/0.5889, allocations: 2.826 MB / 0.6309 GB, free: 1.137 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.02435/0.6132, allocations: 11.07 MB / 0.6417 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.6249, allocations: 4.975 MB / 0.6466 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004556/0.6295, allocations: 1.931 MB / 0.6485 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/0.6298, allocations: 41.88 kB / 0.6485 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.6299, allocations: 60.5 kB / 0.6486 GB, free: 14.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 3.877e-06/0.6299, allocations: 0 / 0.6486 GB, free: 14.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=249): time 0.1243/0.7542, allocations: 29.55 MB / 0.6774 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.7543, allocations: 77.41 kB / 0.6775 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005204/0.7596, allocations: 2.898 MB / 0.6803 GB, free: 13.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001261/0.7608, allocations: 85.7 kB / 0.6804 GB, free: 13.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.762, allocations: 1.26 MB / 0.6816 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001848/0.7639, allocations: 0.8975 MB / 0.6825 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001605/0.7655, allocations: 0.7482 MB / 0.6833 GB, free: 10.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.7656, allocations: 305.1 kB / 0.6835 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00485/0.7704, allocations: 2.28 MB / 0.6858 GB, free: 8.066 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005317/0.7758, allocations: 2.677 MB / 0.6884 GB, free: 5.297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.7861, allocations: 4.839 MB / 0.6931 GB, free: 388 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/0.7862, allocations: 15.94 kB / 0.6931 GB, free: 372 kB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01673/0.8029, allocations: 7.213 MB / 0.7002 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.803, allocations: 11.98 kB / 0.7002 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.803, allocations: 15.94 kB / 0.7002 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01908/0.8221, allocations: 5.737 MB / 0.7058 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/0.8261, allocations: 0.6671 MB / 0.7065 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/0.84, allocations: 5.446 MB / 0.7118 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006298/0.8464, allocations: 0.5079 MB / 0.7123 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/0.8474, allocations: 132 kB / 0.7124 GB, free: 12.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 409 * 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 {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.001687/0.8491, allocations: 0.5332 MB / 0.7129 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/0.8503, allocations: 331.8 kB / 0.7132 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03369/0.884, allocations: 10.52 MB / 0.7235 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.8841, allocations: 31.94 kB / 0.7235 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.8841, allocations: 0 / 0.7235 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.36e-05/0.8842, allocations: 11.95 kB / 0.7235 GB, free: 1.078 MB / 0.5137 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.04133/0.9255, allocations: 14.65 MB / 0.7379 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/0.9256, allocations: 0 / 0.7379 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/0.9275, allocations: 255.7 kB / 0.7381 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01601/0.9435, allocations: 4.769 MB / 0.7428 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008546/0.9444, allocations: 59.92 kB / 0.7428 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05215/0.9965, allocations: 21.47 MB / 0.7638 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.9966, allocations: 0 / 0.7638 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3035/1.3, allocations: 12.81 MB / 0.7763 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.302, allocations: 500 kB / 0.7768 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001559/1.304, allocations: 49.03 kB / 0.7768 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003566/1.307, allocations: 247.6 kB / 0.7771 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001998/1.309, allocations: 0.5197 MB / 0.7776 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/1.309, allocations: 64.97 kB / 0.7776 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002717/1.312, allocations: 1.879 MB / 0.7795 GB, free: 162 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.312, allocations: 0 / 0.7795 GB, free: 162 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004165/1.316, allocations: 1.122 MB / 0.7806 GB, free: 162 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 155 * 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.0005275/1.317, allocations: 179.4 kB / 0.7807 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02082/1.338, allocations: 6.226 MB / 0.7868 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.338, allocations: 3.656 kB / 0.7868 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01203/1.35, allocations: 3.779 MB / 0.7905 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.354, allocations: 271.9 kB / 0.7908 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.367, allocations: 7.461 MB / 0.798 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/1.369, allocations: 1.842 MB / 0.7998 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002086/1.371, allocations: 303.5 kB / 0.8001 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.372, allocations: 191 kB / 0.8003 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/1.372, allocations: 0 / 0.8003 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.09756/1.47, allocations: 58.67 MB / 0.8576 GB, free: 111.1 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)