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.001428/0.001428, allocations: 108.2 kB / 16.41 MB, free: 6.48 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.485/1.485, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001531/0.001531, allocations: 196.4 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5476/0.5476, allocations: 91.92 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002475, allocations: 83.2 kB / 0.5734 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1702, allocations: 71.28 MB / 0.643 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01615/0.1864, allocations: 14.99 MB / 0.6576 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.1977, allocations: 4.592 MB / 0.6621 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003795/0.2016, allocations: 24 kB / 0.6621 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002953/0.2045, allocations: 0.7789 MB / 0.6629 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009709/0.2143, allocations: 2.033 MB / 0.6649 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004323/0.2187, allocations: 1.432 MB / 0.6663 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008531/0.2272, allocations: 4.528 MB / 0.6707 GB, free: 7.129 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.2289, allocations: 0.7918 MB / 0.6715 GB, free: 6.297 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.2326, allocations: 1.809 MB / 0.6732 GB, free: 4.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004432/0.237, allocations: 2.369 MB / 0.6756 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001731/0.2388, allocations: 404 kB / 0.6759 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.2408, allocations: 0.6404 MB / 0.6766 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009874/0.2418, allocations: 0.9493 MB / 0.6775 GB, free: 116 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002799/0.2446, allocations: 1.97 MB / 0.6794 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007844/0.2525, allocations: 5.284 MB / 0.6846 GB, free: 8.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.2525, allocations: 0 / 0.6846 GB, free: 8.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2525, allocations: 0 / 0.6846 GB, free: 8.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001776/0.2527, allocations: 0 / 0.6846 GB, free: 8.824 MB / 494.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.03221/0.2849, allocations: 8.285 MB / 0.6927 GB, free: 472 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.285, allocations: 8.031 kB / 0.6927 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.2965, allocations: 1.773 MB / 0.6944 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005128/0.3017, allocations: 2.189 MB / 0.6965 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009292/0.3027, allocations: 0.6741 MB / 0.6972 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009263/0.3036, allocations: 239.9 kB / 0.6974 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006447/0.3101, allocations: 2.685 MB / 0.7001 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.3101, allocations: 0 / 0.7001 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.3104, allocations: 76 kB / 0.7001 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-05/0.3104, allocations: 44 kB / 0.7002 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0068/0.3172, allocations: 2.838 MB / 0.7029 GB, free: 5.777 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.02364/0.3409, allocations: 11.02 MB / 0.7137 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.3539, allocations: 4.971 MB / 0.7186 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004913/0.3589, allocations: 1.931 MB / 0.7204 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003634/0.3593, allocations: 41.89 kB / 0.7205 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/0.3594, allocations: 64.48 kB / 0.7205 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 5.771e-06/0.3594, allocations: 4 kB / 0.7205 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1304/0.4898, allocations: 29.57 MB / 0.7494 GB, free: 5.352 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.49, allocations: 81.41 kB / 0.7495 GB, free: 5.262 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005523/0.4955, allocations: 2.91 MB / 0.7523 GB, free: 2.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/0.4965, allocations: 77.7 kB / 0.7524 GB, free: 2.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.4979, allocations: 1.274 MB / 0.7537 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001925/0.4998, allocations: 0.945 MB / 0.7546 GB, free: 32 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001737/0.5016, allocations: 0.7447 MB / 0.7553 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5018, allocations: 305.1 kB / 0.7556 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005641/0.5074, allocations: 2.28 MB / 0.7578 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006404/0.5138, allocations: 2.684 MB / 0.7604 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/0.5264, allocations: 4.839 MB / 0.7652 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/0.5265, allocations: 7.938 kB / 0.7652 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.4016/0.9281, allocations: 7.234 MB / 0.7722 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.9282, allocations: 7.125 kB / 0.7723 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.9282, allocations: 5.5 kB / 0.7723 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02119/0.9494, allocations: 5.735 MB / 0.7779 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00391/0.9533, allocations: 0.6619 MB / 0.7785 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/0.9675, allocations: 5.455 MB / 0.7838 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005142/0.9727, allocations: 0.5145 MB / 0.7843 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000857/0.9735, allocations: 137 kB / 0.7845 GB, free: 107.2 MB / 0.5606 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.001548/0.9751, allocations: 0.5284 MB / 0.785 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008786/0.976, allocations: 353.6 kB / 0.7853 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03262/1.009, allocations: 10.51 MB / 0.7956 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/1.009, allocations: 31.66 kB / 0.7956 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.009, allocations: 0 / 0.7956 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.139e-05/1.009, allocations: 11.39 kB / 0.7956 GB, free: 104.3 MB / 0.5606 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.03801/1.047, allocations: 14.63 MB / 0.8099 GB, free: 92.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/1.047, allocations: 5.5 kB / 0.8099 GB, free: 92.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/1.048, allocations: 258 kB / 0.8102 GB, free: 92.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01508/1.064, allocations: 4.761 MB / 0.8148 GB, free: 87.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006424/1.064, allocations: 51.98 kB / 0.8149 GB, free: 87.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04869/1.113, allocations: 21.48 MB / 0.8358 GB, free: 66.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.113, allocations: 0 / 0.8358 GB, free: 66.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03719/1.15, allocations: 12.84 MB / 0.8484 GB, free: 53.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.151, allocations: 0.5081 MB / 0.8489 GB, free: 52.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008001/1.152, allocations: 48 kB / 0.8489 GB, free: 52.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/1.155, allocations: 251.7 kB / 0.8492 GB, free: 52.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001694/1.157, allocations: 0.5217 MB / 0.8497 GB, free: 52.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/1.157, allocations: 63.98 kB / 0.8497 GB, free: 51.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002459/1.16, allocations: 1.873 MB / 0.8516 GB, free: 50.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/1.16, allocations: 0 / 0.8516 GB, free: 50.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002988/1.163, allocations: 1.131 MB / 0.8527 GB, free: 49.02 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.0004005/1.163, allocations: 177.7 kB / 0.8528 GB, free: 48.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01569/1.179, allocations: 6.158 MB / 0.8588 GB, free: 42.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.179, allocations: 0 / 0.8588 GB, free: 42.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01066/1.189, allocations: 3.817 MB / 0.8626 GB, free: 38.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.192, allocations: 264.8 kB / 0.8628 GB, free: 38.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009407/1.201, allocations: 6.383 MB / 0.8691 GB, free: 32.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008993/1.202, allocations: 1.848 MB / 0.8709 GB, free: 30.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001241/1.204, allocations: 288.9 kB / 0.8711 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/1.204, allocations: 191.4 kB / 0.8713 GB, free: 29.88 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/1.204, allocations: 1.969 kB / 0.8713 GB, free: 29.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.09806/1.302, allocations: 62.01 MB / 0.9319 GB, free: 15.87 MB / 0.6075 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)