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.09176/0.09176, allocations: 12.59 MB / 28.22 MB, free: 0.6953 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.001167/0.001167, allocations: 111.4 kB / 31.84 MB, free: 3.855 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.473/1.473, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001284/0.001284, allocations: 192.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4423/0.4423, allocations: 78.51 MB / 419.3 MB, free: 11.25 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.002508/0.002508, allocations: 129.3 kB / 0.5558 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1357, allocations: 68.14 MB / 0.6224 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01319/0.1489, allocations: 15.01 MB / 0.637 GB, free: 368 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009695/0.1586, allocations: 4.577 MB / 0.6415 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/0.1621, allocations: 28 kB / 0.6415 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.1648, allocations: 0.7828 MB / 0.6423 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008986/0.1738, allocations: 2.414 MB / 0.6447 GB, free: 8.551 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004031/0.1779, allocations: 1.344 MB / 0.646 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008574/0.1865, allocations: 4.887 MB / 0.6507 GB, free: 2.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.1882, allocations: 0.7957 MB / 0.6515 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.1915, allocations: 1.879 MB / 0.6534 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00377/0.1953, allocations: 2.451 MB / 0.6557 GB, free: 13.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.1965, allocations: 408 kB / 0.6561 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.1983, allocations: 0.6326 MB / 0.6568 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.1994, allocations: 0.9805 MB / 0.6577 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002817/0.2022, allocations: 2.001 MB / 0.6597 GB, free: 9.109 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005744/0.2079, allocations: 5.338 MB / 0.6649 GB, free: 3.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.208, allocations: 0 / 0.6649 GB, free: 3.75 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.208, allocations: 7.938 kB / 0.6649 GB, free: 3.742 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001119/0.2081, allocations: 0 / 0.6649 GB, free: 3.742 MB / 478.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.03845/0.2465, allocations: 9.641 MB / 0.6743 GB, free: 10.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.2466, allocations: 11.98 kB / 0.6743 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.2579, allocations: 1.769 MB / 0.676 GB, free: 8.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/0.2624, allocations: 2.189 MB / 0.6782 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007356/0.2632, allocations: 0.674 MB / 0.6788 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005408/0.2637, allocations: 239.9 kB / 0.6791 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005831/0.2696, allocations: 2.685 MB / 0.6817 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.2696, allocations: 0 / 0.6817 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.2699, allocations: 76 kB / 0.6818 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.2699, allocations: 48 kB / 0.6818 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006181/0.2761, allocations: 2.83 MB / 0.6846 GB, free: 15.34 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 preOpt removeSimpleEquations (simulation): time 0.02063/0.2968, allocations: 11.01 MB / 0.6953 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.309, allocations: 4.975 MB / 0.7002 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005029/0.3141, allocations: 1.927 MB / 0.7021 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/0.3147, allocations: 45.95 kB / 0.7021 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.609e-05/0.3148, allocations: 56.56 kB / 0.7022 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 7.544e-06/0.3148, allocations: 0 / 0.7022 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.4649/0.7797, allocations: 29.57 MB / 0.731 GB, free: 76.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.7798, allocations: 79.59 kB / 0.7311 GB, free: 76.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004531/0.7843, allocations: 2.91 MB / 0.734 GB, free: 76.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000739/0.7851, allocations: 82.08 kB / 0.734 GB, free: 75.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008609/0.786, allocations: 1.274 MB / 0.7353 GB, free: 75.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.787, allocations: 0.9363 MB / 0.7362 GB, free: 74.37 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.7883, allocations: 0.7533 MB / 0.7369 GB, free: 73.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.7884, allocations: 305.1 kB / 0.7372 GB, free: 73.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004326/0.7927, allocations: 2.281 MB / 0.7394 GB, free: 72.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004585/0.7973, allocations: 2.686 MB / 0.7421 GB, free: 70.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00862/0.8059, allocations: 4.851 MB / 0.7468 GB, free: 68.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.806, allocations: 3.875 kB / 0.7468 GB, free: 68.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.0141/0.8201, allocations: 7.254 MB / 0.7539 GB, free: 63.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.8201, allocations: 4 kB / 0.7539 GB, free: 63.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.8201, allocations: 8 kB / 0.7539 GB, free: 63.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01783/0.838, allocations: 5.725 MB / 0.7595 GB, free: 57.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/0.8413, allocations: 0.6671 MB / 0.7601 GB, free: 56.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.8537, allocations: 5.443 MB / 0.7655 GB, free: 51.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004671/0.8584, allocations: 0.526 MB / 0.766 GB, free: 51.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005141/0.859, allocations: 137 kB / 0.7661 GB, free: 50.91 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.0011/0.8601, allocations: 0.5305 MB / 0.7666 GB, free: 50.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007104/0.8608, allocations: 353.7 kB / 0.767 GB, free: 50.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03222/0.893, allocations: 10.51 MB / 0.7772 GB, free: 39.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.8931, allocations: 24 kB / 0.7773 GB, free: 39.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.8931, allocations: 7.938 kB / 0.7773 GB, free: 39.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.105e-05/0.8932, allocations: 15.95 kB / 0.7773 GB, free: 39.4 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.03755/0.9307, allocations: 14.63 MB / 0.7916 GB, free: 24.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.9308, allocations: 3.938 kB / 0.7916 GB, free: 24.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.9323, allocations: 255.7 kB / 0.7918 GB, free: 24.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0151/0.9475, allocations: 4.765 MB / 0.7965 GB, free: 19.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005714/0.9481, allocations: 51.98 kB / 0.7965 GB, free: 19.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06592/1.014, allocations: 21.49 MB / 0.8175 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.014, allocations: 0 / 0.8175 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05382/1.068, allocations: 12.83 MB / 0.83 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.07, allocations: 0.4943 MB / 0.8305 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/1.071, allocations: 56.86 kB / 0.8306 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004303/1.075, allocations: 247.7 kB / 0.8308 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002342/1.078, allocations: 0.5197 MB / 0.8313 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005684/1.078, allocations: 63.98 kB / 0.8314 GB, free: 15.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003875/1.082, allocations: 1.881 MB / 0.8332 GB, free: 13.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.3e-07/1.082, allocations: 0 / 0.8332 GB, free: 13.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004583/1.087, allocations: 1.124 MB / 0.8343 GB, free: 12.7 MB / 0.545 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.0006609/1.088, allocations: 178.2 kB / 0.8345 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01901/1.107, allocations: 6.163 MB / 0.8405 GB, free: 6.344 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.107, allocations: 0 / 0.8405 GB, free: 6.344 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0119/1.119, allocations: 3.806 MB / 0.8442 GB, free: 2.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/1.122, allocations: 264 kB / 0.8445 GB, free: 2.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.136, allocations: 6.406 MB / 0.8507 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002353/1.138, allocations: 1.841 MB / 0.8525 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001677/1.14, allocations: 288.9 kB / 0.8528 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.141, allocations: 191.4 kB / 0.853 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/1.141, allocations: 0 / 0.853 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of Templates: time 0.09625/1.237, allocations: 61.82 MB / 0.9133 GB, free: 11.72 MB / 0.6231 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)