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.006738/0.006737, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.35/1.35, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001323/0.001323, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5142/0.5142, allocations: 91.89 MB / 431.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 83.5 kB / 0.5727 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1308, allocations: 71.28 MB / 0.6423 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01329/0.1442, allocations: 14.99 MB / 0.657 GB, free: 4.488 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009062/0.1533, allocations: 4.6 MB / 0.6614 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.1562, allocations: 28 kB / 0.6615 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.1582, allocations: 0.775 MB / 0.6622 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.1639, allocations: 1.882 MB / 0.6641 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.167, allocations: 1.429 MB / 0.6655 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007764/0.1747, allocations: 4.524 MB / 0.6699 GB, free: 7.227 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.1762, allocations: 0.7957 MB / 0.6707 GB, free: 6.391 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00291/0.1791, allocations: 1.805 MB / 0.6724 GB, free: 4.578 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.182, allocations: 2.373 MB / 0.6747 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006061/0.1826, allocations: 400 kB / 0.6751 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.1838, allocations: 0.6404 MB / 0.6757 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006975/0.1845, allocations: 0.9532 MB / 0.6767 GB, free: 212 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.1863, allocations: 1.97 MB / 0.6786 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.1915, allocations: 5.256 MB / 0.6837 GB, free: 8.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1915, allocations: 0 / 0.6837 GB, free: 8.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1915, allocations: 4 kB / 0.6837 GB, free: 8.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001065/0.1916, allocations: 3.938 kB / 0.6837 GB, free: 8.945 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.03137/0.223, allocations: 8.157 MB / 0.6917 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2231, allocations: 8.031 kB / 0.6917 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.2342, allocations: 1.751 MB / 0.6934 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004889/0.2392, allocations: 2.163 MB / 0.6955 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008352/0.24, allocations: 0.674 MB / 0.6962 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009473/0.241, allocations: 243.8 kB / 0.6964 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00729/0.2483, allocations: 2.685 MB / 0.699 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.2483, allocations: 0 / 0.699 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/0.2486, allocations: 76 kB / 0.6991 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.2486, allocations: 52 kB / 0.6992 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006102/0.2548, allocations: 2.83 MB / 0.7019 GB, free: 6.066 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.01789/0.2727, allocations: 11 MB / 0.7127 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/0.2846, allocations: 4.967 MB / 0.7175 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004092/0.2887, allocations: 1.935 MB / 0.7194 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/0.289, allocations: 45.95 kB / 0.7195 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.289, allocations: 60.56 kB / 0.7195 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 3.947e-06/0.289, allocations: 0 / 0.7195 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1271/0.4161, allocations: 29.55 MB / 0.7484 GB, free: 5.672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.4163, allocations: 77.41 kB / 0.7485 GB, free: 5.586 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004339/0.4206, allocations: 2.902 MB / 0.7513 GB, free: 2.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007028/0.4213, allocations: 85.7 kB / 0.7514 GB, free: 2.594 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.4223, allocations: 1.256 MB / 0.7526 GB, free: 1.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.4234, allocations: 0.8936 MB / 0.7535 GB, free: 428 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.4247, allocations: 0.7561 MB / 0.7542 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.4248, allocations: 305.1 kB / 0.7545 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004692/0.4295, allocations: 2.277 MB / 0.7567 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005058/0.4346, allocations: 2.679 MB / 0.7593 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009729/0.4443, allocations: 4.843 MB / 0.7641 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.4443, allocations: 7.938 kB / 0.7641 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.3153/0.7596, allocations: 7.222 MB / 0.7711 GB, free: 108 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.7597, allocations: 8.312 kB / 0.7711 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.7597, allocations: 5.25 kB / 0.7711 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02017/0.7799, allocations: 5.736 MB / 0.7767 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/0.7836, allocations: 0.663 MB / 0.7774 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.7971, allocations: 5.441 MB / 0.7827 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/0.8019, allocations: 0.5101 MB / 0.7832 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004961/0.8024, allocations: 139.7 kB / 0.7833 GB, free: 107.3 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.00117/0.8036, allocations: 0.5201 MB / 0.7838 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006593/0.8042, allocations: 332.3 kB / 0.7842 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03216/0.8364, allocations: 10.52 MB / 0.7944 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.8365, allocations: 27.66 kB / 0.7945 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.8365, allocations: 0 / 0.7945 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.272e-05/0.8365, allocations: 11.44 kB / 0.7945 GB, free: 104.4 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.03729/0.8738, allocations: 14.63 MB / 0.8088 GB, free: 93.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/0.8739, allocations: 0 / 0.8088 GB, free: 93.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.8755, allocations: 267.6 kB / 0.809 GB, free: 93.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01522/0.8907, allocations: 4.765 MB / 0.8137 GB, free: 88.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000549/0.8913, allocations: 48 kB / 0.8137 GB, free: 88.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04885/0.9402, allocations: 21.45 MB / 0.8347 GB, free: 66.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.9402, allocations: 4 kB / 0.8347 GB, free: 66.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0665/1.007, allocations: 12.81 MB / 0.8472 GB, free: 53.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/1.009, allocations: 0.4889 MB / 0.8477 GB, free: 53.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/1.01, allocations: 44 kB / 0.8477 GB, free: 53.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006278/1.017, allocations: 247.7 kB / 0.8479 GB, free: 53.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003341/1.02, allocations: 0.5217 MB / 0.8484 GB, free: 52.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005867/1.021, allocations: 60 kB / 0.8485 GB, free: 52.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004982/1.026, allocations: 1.885 MB / 0.8503 GB, free: 50.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.01e-07/1.026, allocations: 6.297 kB / 0.8503 GB, free: 50.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005819/1.032, allocations: 1.119 MB / 0.8514 GB, free: 49.55 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.000796/1.032, allocations: 177.6 kB / 0.8516 GB, free: 49.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03013/1.063, allocations: 6.152 MB / 0.8576 GB, free: 43.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.063, allocations: 0 / 0.8576 GB, free: 43.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02113/1.084, allocations: 3.799 MB / 0.8613 GB, free: 39.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/1.089, allocations: 268.1 kB / 0.8616 GB, free: 39.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/1.102, allocations: 6.264 MB / 0.8677 GB, free: 32.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.104, allocations: 1.845 MB / 0.8695 GB, free: 31.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001537/1.105, allocations: 300.9 kB / 0.8698 GB, free: 30.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.106, allocations: 189.5 kB / 0.87 GB, free: 30.54 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/1.106, allocations: 0 / 0.87 GB, free: 30.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.1011/1.208, allocations: 65.08 MB / 0.9335 GB, free: 13.45 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)