Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001157/0.001157, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.515/1.515, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.001109/0.001109, allocations: 188.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.501/0.501, allocations: 78.55 MB / 420.3 MB, free: 4.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 8 kB / 0.4886 GB, free: 6.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1529, allocations: 69.37 MB / 0.5564 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.3499/0.5028, allocations: 15.07 MB / 0.5711 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.5144, allocations: 4.665 MB / 0.5757 GB, free: 28.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005754/0.5203, allocations: 31.97 kB / 0.5757 GB, free: 28.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.5241, allocations: 0.6194 MB / 0.5763 GB, free: 27.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.5352, allocations: 2.168 MB / 0.5784 GB, free: 27.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.5391, allocations: 1.231 MB / 0.5796 GB, free: 27.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008128/0.5472, allocations: 4.615 MB / 0.5841 GB, free: 25.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.5487, allocations: 0.6987 MB / 0.5848 GB, free: 25.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.5521, allocations: 1.609 MB / 0.5864 GB, free: 24.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003921/0.5561, allocations: 2.201 MB / 0.5885 GB, free: 23.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.5572, allocations: 186.4 kB / 0.5887 GB, free: 23.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.5587, allocations: 408.6 kB / 0.5891 GB, free: 23.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005482/0.5593, allocations: 0.74 MB / 0.5898 GB, free: 23.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.5613, allocations: 1.792 MB / 0.5916 GB, free: 21.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005742/0.567, allocations: 5.008 MB / 0.5965 GB, free: 20.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5671, allocations: 0 / 0.5965 GB, free: 20.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5671, allocations: 0 / 0.5965 GB, free: 20.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001975/0.5673, allocations: 0 / 0.5965 GB, free: 20.26 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.03986/0.6071, allocations: 9.076 MB / 0.6053 GB, free: 17.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.6072, allocations: 8.438 kB / 0.6053 GB, free: 17.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.6195, allocations: 1.769 MB / 0.6071 GB, free: 17.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00618/0.6257, allocations: 2.17 MB / 0.6092 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009179/0.6267, allocations: 0.6931 MB / 0.6099 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.6281, allocations: 243.4 kB / 0.6101 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00935/0.6374, allocations: 2.863 MB / 0.6129 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.6375, allocations: 1.859 kB / 0.6129 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/0.6378, allocations: 76.91 kB / 0.613 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.6378, allocations: 47.06 kB / 0.613 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008734/0.6466, allocations: 3.037 MB / 0.616 GB, free: 13.19 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.0295/0.6761, allocations: 11.19 MB / 0.6269 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01726/0.6934, allocations: 5.68 MB / 0.6324 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007024/0.7005, allocations: 2.114 MB / 0.6345 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005389/0.7011, allocations: 37.97 kB / 0.6345 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.05e-05/0.7012, allocations: 60.56 kB / 0.6346 GB, free: 13.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 9.257e-06/0.7012, allocations: 4 kB / 0.6346 GB, free: 13.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1497/0.8509, allocations: 35.73 MB / 0.6695 GB, free: 9.438 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.8511, allocations: 77.41 kB / 0.6696 GB, free: 9.352 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005169/0.8562, allocations: 2.906 MB / 0.6724 GB, free: 6.445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001241/0.8575, allocations: 85.7 kB / 0.6725 GB, free: 6.355 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.8587, allocations: 1.256 MB / 0.6737 GB, free: 5.086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001789/0.8605, allocations: 0.8974 MB / 0.6746 GB, free: 4.176 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000708/0.8612, allocations: 402.6 kB / 0.675 GB, free: 3.773 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8613, allocations: 301.1 kB / 0.6753 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005514/0.8668, allocations: 2.456 MB / 0.6777 GB, free: 1.012 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006018/0.8729, allocations: 2.86 MB / 0.6804 GB, free: 14.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/0.885, allocations: 5.21 MB / 0.6855 GB, free: 8.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.497e-05/0.885, allocations: 3.938 kB / 0.6855 GB, free: 8.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01994/0.905, allocations: 7.769 MB / 0.6931 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.9051, allocations: 8 kB / 0.6931 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.9051, allocations: 6.578 kB / 0.6931 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02054/0.9256, allocations: 6.566 MB / 0.6996 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003832/0.9295, allocations: 0.6709 MB / 0.7002 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/0.945, allocations: 6.15 MB / 0.7062 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00713/0.9522, allocations: 0.5977 MB / 0.7068 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/0.9537, allocations: 136 kB / 0.7069 GB, free: 2.816 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.002153/0.9558, allocations: 0.5285 MB / 0.7074 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/0.9573, allocations: 332.9 kB / 0.7078 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03891/0.9962, allocations: 12.86 MB / 0.7203 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/0.9963, allocations: 31.94 kB / 0.7204 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.9963, allocations: 4 kB / 0.7204 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.978e-05/0.9964, allocations: 15.94 kB / 0.7204 GB, free: 4.957 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.04733/1.044, allocations: 16.99 MB / 0.737 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-05/1.044, allocations: 1 kB / 0.737 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/1.046, allocations: 255.7 kB / 0.7372 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01719/1.063, allocations: 5.586 MB / 0.7427 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007817/1.064, allocations: 55.98 kB / 0.7427 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05502/1.119, allocations: 22.04 MB / 0.7642 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.119, allocations: 0 / 0.7642 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3966/1.516, allocations: 15.33 MB / 0.7792 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/1.518, allocations: 0.4987 MB / 0.7797 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/1.52, allocations: 49.58 kB / 0.7797 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004059/1.524, allocations: 341.6 kB / 0.7801 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002095/1.526, allocations: 0.5048 MB / 0.7806 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.526, allocations: 65.72 kB / 0.7806 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003406/1.53, allocations: 1.877 MB / 0.7825 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.5e-07/1.53, allocations: 0 / 0.7825 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005775/1.535, allocations: 1.122 MB / 0.7836 GB, free: 165.3 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.0007423/1.536, allocations: 183.3 kB / 0.7837 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01991/1.556, allocations: 6.823 MB / 0.7904 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.556, allocations: 4.812 kB / 0.7904 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0136/1.57, allocations: 4.271 MB / 0.7946 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/1.573, allocations: 265.1 kB / 0.7948 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.586, allocations: 7.759 MB / 0.8024 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/1.588, allocations: 1.844 MB / 0.8042 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001775/1.59, allocations: 289.8 kB / 0.8045 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008225/1.591, allocations: 181.2 kB / 0.8046 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.591, allocations: 0 / 0.8046 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.08235/1.673, allocations: 54.01 MB / 0.8574 GB, free: 123.5 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) Environment - environmentSimulation: