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.001627/0.001627, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.467/1.467, allocations: 222.9 MB / 238.8 MB, free: 4.754 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.001444/0.001444, allocations: 188.5 kB / 289.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5692/0.5692, allocations: 91.89 MB / 431.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 83.86 kB / 0.5012 GB, free: 8.168 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.462, allocations: 71.26 MB / 0.5708 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01243/0.4744, allocations: 15.79 MB / 0.5862 GB, free: 25.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.4858, allocations: 4.712 MB / 0.5908 GB, free: 22.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004994/0.4908, allocations: 33.25 kB / 0.5908 GB, free: 22.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003347/0.4942, allocations: 0.6263 MB / 0.5915 GB, free: 22.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007959/0.5022, allocations: 1.648 MB / 0.5931 GB, free: 21.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004363/0.5066, allocations: 1.334 MB / 0.5944 GB, free: 20.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00923/0.5159, allocations: 4.246 MB / 0.5985 GB, free: 18.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.5181, allocations: 0.7022 MB / 0.5992 GB, free: 17.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/0.5225, allocations: 1.593 MB / 0.6008 GB, free: 17.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004989/0.5275, allocations: 2.188 MB / 0.6029 GB, free: 16.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002266/0.5298, allocations: 213.6 kB / 0.6031 GB, free: 16.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/0.5332, allocations: 441.1 kB / 0.6035 GB, free: 16.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.5354, allocations: 0.7668 MB / 0.6043 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005746/0.5411, allocations: 1.775 MB / 0.606 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.5519, allocations: 5.055 MB / 0.6109 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.5519, allocations: 0 / 0.6109 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.552, allocations: 1.281 kB / 0.6109 GB, free: 12.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003529/0.5523, allocations: 0 / 0.6109 GB, free: 12.33 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.04219/0.5945, allocations: 8.163 MB / 0.6189 GB, free: 9.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/0.5946, allocations: 8.781 kB / 0.6189 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.6077, allocations: 1.753 MB / 0.6206 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006439/0.6142, allocations: 2.169 MB / 0.6227 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009983/0.6152, allocations: 0.6666 MB / 0.6234 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/0.6173, allocations: 250 kB / 0.6236 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007474/0.6248, allocations: 2.687 MB / 0.6263 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.6249, allocations: 0 / 0.6263 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.6251, allocations: 75.47 kB / 0.6263 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/0.6252, allocations: 46.09 kB / 0.6264 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006176/0.6314, allocations: 2.837 MB / 0.6291 GB, free: 2.879 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.02557/0.657, allocations: 11.05 MB / 0.6399 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/0.6698, allocations: 4.975 MB / 0.6448 GB, free: 2.094 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00562/0.6755, allocations: 1.931 MB / 0.6467 GB, free: 164 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006981/0.6762, allocations: 45.95 kB / 0.6467 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.773e-05/0.6763, allocations: 56.56 kB / 0.6468 GB, free: 52 kB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 7.835e-06/0.6764, allocations: 0 / 0.6468 GB, free: 52 kB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1371/0.8135, allocations: 29.55 MB / 0.6756 GB, free: 2.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.8137, allocations: 77.41 kB / 0.6757 GB, free: 2.344 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008168/0.8219, allocations: 2.906 MB / 0.6785 GB, free: 15.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001573/0.8235, allocations: 89.64 kB / 0.6786 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001905/0.8254, allocations: 1.26 MB / 0.6799 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002737/0.8282, allocations: 0.8975 MB / 0.6807 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005673/0.8339, allocations: 0.7482 MB / 0.6815 GB, free: 12.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.834, allocations: 301.1 kB / 0.6818 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006564/0.8406, allocations: 2.284 MB / 0.684 GB, free: 9.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007038/0.8477, allocations: 2.673 MB / 0.6866 GB, free: 7.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/0.861, allocations: 4.847 MB / 0.6913 GB, free: 2.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-05/0.8611, allocations: 11.94 kB / 0.6913 GB, free: 2.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02694/0.888, allocations: 7.217 MB / 0.6984 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.8882, allocations: 12.09 kB / 0.6984 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.8882, allocations: 4 kB / 0.6984 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02091/0.9091, allocations: 5.729 MB / 0.704 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004326/0.9135, allocations: 0.6632 MB / 0.7047 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.9311, allocations: 5.45 MB / 0.71 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00754/0.9387, allocations: 0.504 MB / 0.7105 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/0.9403, allocations: 140 kB / 0.7106 GB, free: 14.34 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.003507/0.9438, allocations: 0.5254 MB / 0.7111 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002289/0.9461, allocations: 331.8 kB / 0.7114 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03795/0.9841, allocations: 10.53 MB / 0.7217 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.458e-05/0.9842, allocations: 27.94 kB / 0.7217 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.9843, allocations: 0 / 0.7217 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001273/0.9844, allocations: 11.95 kB / 0.7217 GB, free: 2.828 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.05002/1.034, allocations: 14.65 MB / 0.7361 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/1.034, allocations: 0 / 0.7361 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.037, allocations: 259.6 kB / 0.7363 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0172/1.054, allocations: 4.761 MB / 0.741 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001091/1.055, allocations: 51.98 kB / 0.741 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0599/1.115, allocations: 19.6 MB / 0.7601 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.115, allocations: 3.938 kB / 0.7602 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3951/1.51, allocations: 12.81 MB / 0.7727 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/1.512, allocations: 495.5 kB / 0.7731 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001607/1.514, allocations: 48.33 kB / 0.7732 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004174/1.518, allocations: 250 kB / 0.7734 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002541/1.52, allocations: 0.5082 MB / 0.7739 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003664/1.521, allocations: 61.36 kB / 0.774 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003594/1.524, allocations: 1.878 MB / 0.7758 GB, free: 161 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.524, allocations: 0 / 0.7758 GB, free: 161 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00529/1.53, allocations: 1.126 MB / 0.7769 GB, free: 161 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.0005946/1.53, allocations: 178.3 kB / 0.7771 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01817/1.549, allocations: 6.099 MB / 0.783 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.549, allocations: 0 / 0.783 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01265/1.561, allocations: 3.698 MB / 0.7866 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/1.565, allocations: 268.5 kB / 0.7869 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/1.578, allocations: 7.468 MB / 0.7942 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/1.58, allocations: 1.847 MB / 0.796 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001963/1.582, allocations: 293.2 kB / 0.7963 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008766/1.583, allocations: 181.8 kB / 0.7965 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.924e-06/1.583, allocations: 0 / 0.7965 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.0905/1.674, allocations: 55.18 MB / 0.8503 GB, free: 118.6 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)