Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1364/0.1364, allocations: 12.6 MB / 28.87 MB, free: 0.6172 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 115.4 kB / 32.46 MB, free: 3.566 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001815, allocations: 192.5 kB / 291.3 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4785/0.4785, allocations: 78.52 MB / 419.9 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003318/0.003319, allocations: 144.5 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.435, allocations: 68.11 MB / 0.556 GB, free: 33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01472/0.4498, allocations: 15.01 MB / 0.5707 GB, free: 21.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.461, allocations: 4.583 MB / 0.5751 GB, free: 17.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004782/0.4658, allocations: 28.12 kB / 0.5752 GB, free: 17.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003/0.4688, allocations: 0.7834 MB / 0.5759 GB, free: 16.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009035/0.4779, allocations: 2.414 MB / 0.5783 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.4815, allocations: 1.323 MB / 0.5796 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008765/0.4903, allocations: 4.901 MB / 0.5844 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.4917, allocations: 0.7957 MB / 0.5851 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.4954, allocations: 1.879 MB / 0.587 GB, free: 7.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.498, allocations: 2.455 MB / 0.5894 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004716/0.4985, allocations: 404 kB / 0.5898 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.4996, allocations: 0.6287 MB / 0.5904 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005885/0.5002, allocations: 0.9729 MB / 0.5913 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.5017, allocations: 2.013 MB / 0.5933 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006093/0.5078, allocations: 5.326 MB / 0.5985 GB, free: 11.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5079, allocations: 0 / 0.5985 GB, free: 11.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5079, allocations: 0 / 0.5985 GB, free: 11.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.335e-05/0.508, allocations: 0 / 0.5985 GB, free: 11.77 MB / 414.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.03818/0.5462, allocations: 9.511 MB / 0.6078 GB, free: 2.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.5462, allocations: 19.92 kB / 0.6078 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.5568, allocations: 1.755 MB / 0.6095 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004743/0.5616, allocations: 2.167 MB / 0.6116 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007737/0.5624, allocations: 0.6624 MB / 0.6123 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005942/0.563, allocations: 247.8 kB / 0.6125 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005762/0.5688, allocations: 2.682 MB / 0.6151 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.5689, allocations: 4 kB / 0.6151 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.5691, allocations: 83.94 kB / 0.6152 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/0.5691, allocations: 48 kB / 0.6153 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006004/0.5751, allocations: 2.83 MB / 0.618 GB, free: 7.527 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.02096/0.5961, allocations: 11 MB / 0.6288 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.6081, allocations: 4.968 MB / 0.6336 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004371/0.6126, allocations: 1.935 MB / 0.6355 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.6129, allocations: 45.95 kB / 0.6355 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.6129, allocations: 56.56 kB / 0.6356 GB, free: 4.758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.278e-06/0.6129, allocations: 0 / 0.6356 GB, free: 4.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1214/0.7343, allocations: 29.55 MB / 0.6645 GB, free: 7.141 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.7345, allocations: 85.39 kB / 0.6645 GB, free: 7.047 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005239/0.7397, allocations: 2.898 MB / 0.6674 GB, free: 4.148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001216/0.741, allocations: 81.7 kB / 0.6674 GB, free: 4.062 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.7422, allocations: 1.264 MB / 0.6687 GB, free: 2.785 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001554/0.7437, allocations: 0.9013 MB / 0.6696 GB, free: 1.871 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/0.7452, allocations: 0.7405 MB / 0.6703 GB, free: 1.117 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7454, allocations: 301.1 kB / 0.6706 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00502/0.7504, allocations: 2.288 MB / 0.6728 GB, free: 14.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005321/0.7558, allocations: 2.683 MB / 0.6754 GB, free: 11.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.7664, allocations: 4.847 MB / 0.6802 GB, free: 6.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/0.7664, allocations: 7.938 kB / 0.6802 GB, free: 6.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01774/0.7842, allocations: 7.217 MB / 0.6872 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.7843, allocations: 8.688 kB / 0.6872 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.7843, allocations: 7.938 kB / 0.6872 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01923/0.8036, allocations: 5.729 MB / 0.6928 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/0.8076, allocations: 0.6671 MB / 0.6935 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/0.8218, allocations: 5.446 MB / 0.6988 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005904/0.8277, allocations: 0.504 MB / 0.6993 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007997/0.8286, allocations: 136 kB / 0.6994 GB, free: 3.043 MB / 0.4981 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.001614/0.8302, allocations: 0.5285 MB / 0.6999 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/0.8313, allocations: 331.7 kB / 0.7002 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.331/1.162, allocations: 10.52 MB / 0.7105 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.873e-05/1.162, allocations: 25.17 kB / 0.7105 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.162, allocations: 0 / 0.7105 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.411e-05/1.163, allocations: 14.31 kB / 0.7106 GB, free: 125.3 MB / 0.4981 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.04144/1.204, allocations: 14.63 MB / 0.7248 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/1.204, allocations: 0 / 0.7248 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/1.206, allocations: 260.6 kB / 0.7251 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/1.221, allocations: 4.761 MB / 0.7297 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007088/1.221, allocations: 51.73 kB / 0.7298 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04609/1.268, allocations: 21.46 MB / 0.7508 GB, free: 97.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.268, allocations: 2.734 kB / 0.7508 GB, free: 97.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03559/1.303, allocations: 12.81 MB / 0.7633 GB, free: 84.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.305, allocations: 0.494 MB / 0.7637 GB, free: 84.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007602/1.305, allocations: 48 kB / 0.7638 GB, free: 84.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002884/1.308, allocations: 251.4 kB / 0.764 GB, free: 84.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001673/1.31, allocations: 0.5101 MB / 0.7645 GB, free: 83.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/1.31, allocations: 71.98 kB / 0.7646 GB, free: 83.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002308/1.313, allocations: 1.877 MB / 0.7664 GB, free: 81.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.313, allocations: 3.656 kB / 0.7664 GB, free: 81.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003408/1.316, allocations: 1.124 MB / 0.7675 GB, free: 80.52 MB / 0.4981 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.0004553/1.316, allocations: 181 kB / 0.7677 GB, free: 80.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01557/1.332, allocations: 6.151 MB / 0.7737 GB, free: 74.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.332, allocations: 0 / 0.7737 GB, free: 74.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/1.343, allocations: 3.791 MB / 0.7774 GB, free: 70.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/1.346, allocations: 273.3 kB / 0.7777 GB, free: 70.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/1.357, allocations: 6.267 MB / 0.7838 GB, free: 63.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.358, allocations: 1.845 MB / 0.7856 GB, free: 61.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001471/1.359, allocations: 288.9 kB / 0.7859 GB, free: 61.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/1.36, allocations: 191.4 kB / 0.7861 GB, free: 61.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/1.36, allocations: 4 kB / 0.7861 GB, free: 61.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.0885/1.449, allocations: 61.17 MB / 0.8458 GB, free: 360 kB / 0.4981 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)