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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 182.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.978/1.978, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 104.2 kB / 289.9 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6803/0.6803, allocations: 78.47 MB / 418.5 MB, free: 8.707 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.91 kB / 497.4 MB, free: 10.6 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 68.12 MB / 0.5523 GB, free: 20.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.00925/0.3695, allocations: 15.75 MB / 0.5677 GB, free: 4.352 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006163/0.3757, allocations: 4.74 MB / 0.5723 GB, free: 15.6 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009957/0.3767, allocations: 32 kB / 0.5723 GB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.378, allocations: 0.6156 MB / 0.5729 GB, free: 14.95 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004476/0.3825, allocations: 2.189 MB / 0.5751 GB, free: 12.78 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.3847, allocations: 1.238 MB / 0.5763 GB, free: 11.56 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004377/0.3891, allocations: 4.661 MB / 0.5808 GB, free: 6.883 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009075/0.3901, allocations: 0.7 MB / 0.5815 GB, free: 6.145 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.3919, allocations: 1.668 MB / 0.5832 GB, free: 4.469 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.394, allocations: 2.271 MB / 0.5854 GB, free: 2.188 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.3944, allocations: 212 kB / 0.5856 GB, free: 1.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008871/0.3953, allocations: 447.7 kB / 0.586 GB, free: 1.543 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.3959, allocations: 0.7853 MB / 0.5868 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.3973, allocations: 1.809 MB / 0.5885 GB, free: 14.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003909/0.4012, allocations: 5.123 MB / 0.5935 GB, free: 9.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4013, allocations: 4 kB / 0.5935 GB, free: 9.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.4013, allocations: 0 / 0.5935 GB, free: 9.789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.295e-05/0.4013, allocations: 4 kB / 0.5935 GB, free: 9.785 MB / 410.7 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.03677/0.4381, allocations: 9.518 MB / 0.6028 GB, free: 200 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4381, allocations: 8.031 kB / 0.6028 GB, free: 192 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.4483, allocations: 1.755 MB / 0.6046 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.4514, allocations: 2.171 MB / 0.6067 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006554/0.4521, allocations: 0.6702 MB / 0.6073 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/0.4525, allocations: 243.8 kB / 0.6076 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005303/0.4578, allocations: 2.685 MB / 0.6102 GB, free: 8.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.4578, allocations: 0 / 0.6102 GB, free: 8.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.458, allocations: 79.94 kB / 0.6103 GB, free: 8.422 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.4581, allocations: 47.94 kB / 0.6103 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005784/0.4639, allocations: 2.834 MB / 0.6131 GB, free: 5.539 MB / 426.7 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.01582/0.4797, allocations: 11.06 MB / 0.6239 GB, free: 9.945 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.4916, allocations: 4.971 MB / 0.6287 GB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00377/0.4953, allocations: 1.931 MB / 0.6306 GB, free: 2.828 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.4956, allocations: 45.95 kB / 0.6307 GB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.4957, allocations: 56.56 kB / 0.6307 GB, free: 2.719 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 3.958e-06/0.4957, allocations: 0 / 0.6307 GB, free: 2.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1296/0.6253, allocations: 29.55 MB / 0.6596 GB, free: 5.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.6254, allocations: 81.41 kB / 0.6597 GB, free: 5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004282/0.6296, allocations: 2.91 MB / 0.6625 GB, free: 2.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003564/0.63, allocations: 81.7 kB / 0.6626 GB, free: 2.004 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009768/0.631, allocations: 1.256 MB / 0.6638 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009088/0.6319, allocations: 0.8938 MB / 0.6647 GB, free: 15.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.6333, allocations: 0.7522 MB / 0.6654 GB, free: 15.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.6334, allocations: 301.1 kB / 0.6657 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004823/0.6383, allocations: 2.284 MB / 0.6679 GB, free: 12.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005195/0.6435, allocations: 2.677 MB / 0.6705 GB, free: 9.699 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009827/0.6533, allocations: 4.847 MB / 0.6753 GB, free: 4.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.6533, allocations: 3.938 kB / 0.6753 GB, free: 4.766 MB / 490.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.2306/0.884, allocations: 7.23 MB / 0.6823 GB, free: 108.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.884, allocations: 7.562 kB / 0.6823 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.8841, allocations: 5.25 kB / 0.6823 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02011/0.9042, allocations: 5.735 MB / 0.6879 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/0.9074, allocations: 0.6631 MB / 0.6886 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.9205, allocations: 5.442 MB / 0.6939 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004135/0.9246, allocations: 0.5149 MB / 0.6944 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/0.9249, allocations: 136.3 kB / 0.6945 GB, free: 105.5 MB / 490.7 MB 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.0009121/0.9258, allocations: 0.5227 MB / 0.6951 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/0.9263, allocations: 328.6 kB / 0.6954 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03326/0.9595, allocations: 10.53 MB / 0.7056 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/0.9596, allocations: 27.94 kB / 0.7057 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.9596, allocations: 0 / 0.7057 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.175e-05/0.9597, allocations: 15.95 kB / 0.7057 GB, free: 102.3 MB / 490.7 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 postOpt removeSimpleEquations (simulation): time 0.03608/0.9957, allocations: 14.65 MB / 0.72 GB, free: 87.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.9958, allocations: 5.969 kB / 0.72 GB, free: 87.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.9972, allocations: 255.6 kB / 0.7202 GB, free: 87.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01455/1.012, allocations: 4.761 MB / 0.7249 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002677/1.012, allocations: 51.98 kB / 0.7249 GB, free: 82.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0449/1.057, allocations: 19.61 MB / 0.7441 GB, free: 62.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.057, allocations: 3.984 kB / 0.7441 GB, free: 62.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2341/1.291, allocations: 85.09 MB / 0.8272 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009131/1.292, allocations: 0.4906 MB / 0.8277 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006979/1.293, allocations: 44 kB / 0.8277 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.296, allocations: 247.7 kB / 0.828 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00177/1.298, allocations: 0.5099 MB / 0.8285 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.298, allocations: 63.98 kB / 0.8285 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002439/1.3, allocations: 1.877 MB / 0.8303 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.3, allocations: 4 kB / 0.8303 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003902/1.304, allocations: 1.645 MB / 0.832 GB, free: 4.465 MB / 0.5105 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.0004538/1.305, allocations: 192.2 kB / 0.8321 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01681/1.321, allocations: 6.1 MB / 0.8381 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.322, allocations: 3.938 kB / 0.8381 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01122/1.333, allocations: 3.7 MB / 0.8417 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/1.335, allocations: 263.3 kB / 0.842 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/1.355, allocations: 10.63 MB / 0.8523 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/1.356, allocations: 1.954 MB / 0.8542 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001436/1.357, allocations: 312.9 kB / 0.8545 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007784/1.358, allocations: 183.4 kB / 0.8547 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of SimCode: time 4.71e-07/1.358, allocations: 0 / 0.8547 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.3437/1.702, allocations: 83.39 MB / 0.9362 GB, free: 172.3 MB / 0.573 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)