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.001041/0.001041, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.525/1.525, allocations: 223.2 MB / 239.3 MB, free: 5.512 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.001482/0.001481, allocations: 180.4 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5883/0.5883, allocations: 91.91 MB / 433.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005064, allocations: 16 kB / 0.5048 GB, free: 7.301 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4561, allocations: 72.46 MB / 0.5755 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01125/0.4674, allocations: 15.1 MB / 0.5903 GB, free: 25.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.4782, allocations: 4.664 MB / 0.5948 GB, free: 22.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.482, allocations: 31.78 kB / 0.5948 GB, free: 22.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002452/0.4845, allocations: 0.6199 MB / 0.5955 GB, free: 22.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006604/0.4911, allocations: 1.649 MB / 0.5971 GB, free: 21.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.4947, allocations: 1.329 MB / 0.5984 GB, free: 20.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007324/0.502, allocations: 4.238 MB / 0.6025 GB, free: 18.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.5039, allocations: 0.6934 MB / 0.6032 GB, free: 17.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004225/0.5081, allocations: 1.537 MB / 0.6047 GB, free: 17.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005192/0.5133, allocations: 2.122 MB / 0.6067 GB, free: 16.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002343/0.5157, allocations: 186.4 kB / 0.6069 GB, free: 16.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/0.5202, allocations: 414.4 kB / 0.6073 GB, free: 16.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002737/0.523, allocations: 0.722 MB / 0.608 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006759/0.5297, allocations: 1.76 MB / 0.6097 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.542, allocations: 4.936 MB / 0.6146 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.542, allocations: 0 / 0.6146 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.542, allocations: 0 / 0.6146 GB, free: 12.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000293/0.5423, allocations: 1.094 kB / 0.6146 GB, free: 12.93 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.03605/0.5784, allocations: 7.693 MB / 0.6221 GB, free: 10.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.5785, allocations: 8.906 kB / 0.6221 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/0.5915, allocations: 1.77 MB / 0.6238 GB, free: 9.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007609/0.5992, allocations: 2.174 MB / 0.6259 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/0.6003, allocations: 0.6873 MB / 0.6266 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001761/0.6021, allocations: 245.8 kB / 0.6268 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.6129, allocations: 2.864 MB / 0.6296 GB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.235e-05/0.6131, allocations: 1.031 kB / 0.6296 GB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008549/0.6139, allocations: 79.72 kB / 0.6297 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.133e-05/0.614, allocations: 46.22 kB / 0.6298 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007858/0.6219, allocations: 3.025 MB / 0.6327 GB, free: 2.906 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.03098/0.6529, allocations: 11.2 MB / 0.6437 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01475/0.6677, allocations: 5.686 MB / 0.6492 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005681/0.6734, allocations: 2.113 MB / 0.6513 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005634/0.674, allocations: 45.94 kB / 0.6513 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/0.6741, allocations: 56.56 kB / 0.6514 GB, free: 15.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 4.448e-06/0.6741, allocations: 3.938 kB / 0.6514 GB, free: 15.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=249): time 0.1421/0.8162, allocations: 35.72 MB / 0.6863 GB, free: 11.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.8163, allocations: 81.39 kB / 0.6863 GB, free: 11.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009419/0.8258, allocations: 2.902 MB / 0.6892 GB, free: 8.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001415/0.8272, allocations: 81.7 kB / 0.6892 GB, free: 8.172 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.8291, allocations: 1.26 MB / 0.6905 GB, free: 6.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002822/0.8319, allocations: 0.9013 MB / 0.6914 GB, free: 5.984 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00223/0.8341, allocations: 394.6 kB / 0.6917 GB, free: 5.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8343, allocations: 301.1 kB / 0.692 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007077/0.8414, allocations: 2.46 MB / 0.6944 GB, free: 2.824 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007269/0.8487, allocations: 2.861 MB / 0.6972 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/0.8626, allocations: 5.206 MB / 0.7023 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/0.8627, allocations: 3.938 kB / 0.7023 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02506/0.8877, allocations: 7.763 MB / 0.7099 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.8878, allocations: 8 kB / 0.7099 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.8878, allocations: 4 kB / 0.7099 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02187/0.9097, allocations: 6.573 MB / 0.7163 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004296/0.9141, allocations: 0.6593 MB / 0.717 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/0.9327, allocations: 6.153 MB / 0.723 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007553/0.9403, allocations: 0.5977 MB / 0.7235 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001759/0.9421, allocations: 136 kB / 0.7237 GB, free: 4.633 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.003636/0.9458, allocations: 0.5332 MB / 0.7242 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/0.9478, allocations: 331.8 kB / 0.7245 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04273/0.9906, allocations: 12.86 MB / 0.7371 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-05/0.9907, allocations: 27.94 kB / 0.7371 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.9907, allocations: 0 / 0.7371 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001119/0.9908, allocations: 11.95 kB / 0.7371 GB, free: 6.785 MB / 0.5294 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.05346/1.044, allocations: 17.01 MB / 0.7537 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/1.044, allocations: 0 / 0.7537 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/1.047, allocations: 263.6 kB / 0.754 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01884/1.065, allocations: 5.577 MB / 0.7594 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/1.067, allocations: 44 kB / 0.7595 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4652/1.532, allocations: 22.04 MB / 0.781 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.532, allocations: 2.812 kB / 0.781 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04813/1.58, allocations: 15.34 MB / 0.796 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/1.583, allocations: 0.4894 MB / 0.7964 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002012/1.585, allocations: 46.09 kB / 0.7965 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004369/1.589, allocations: 343.7 kB / 0.7968 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002064/1.592, allocations: 0.5083 MB / 0.7973 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002006/1.592, allocations: 63.8 kB / 0.7974 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003434/1.595, allocations: 1.878 MB / 0.7992 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.595, allocations: 0 / 0.7992 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005031/1.6, allocations: 1.126 MB / 0.8003 GB, free: 159.6 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.0005425/1.601, allocations: 180 kB / 0.8005 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02109/1.622, allocations: 6.834 MB / 0.8072 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.622, allocations: 0 / 0.8072 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01263/1.635, allocations: 4.271 MB / 0.8113 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003856/1.638, allocations: 279.9 kB / 0.8116 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.651, allocations: 7.746 MB / 0.8192 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.652, allocations: 1.841 MB / 0.821 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001794/1.654, allocations: 297.6 kB / 0.8212 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007696/1.654, allocations: 175 kB / 0.8214 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/1.654, allocations: 7.391 kB / 0.8214 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.08593/1.74, allocations: 54.01 MB / 0.8742 GB, free: 96.97 MB / 0.5606 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)