Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 239.2 MB, free: 4.641 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.001327/0.001327, allocations: 191.6 kB / 289.5 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5118/0.5118, allocations: 91.9 MB / 431.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 75.89 kB / 0.5019 GB, free: 7.777 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.374, allocations: 71.27 MB / 0.5715 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.0147/0.3887, allocations: 19.54 MB / 0.5905 GB, free: 23.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.4005, allocations: 6.401 MB / 0.5968 GB, free: 18.49 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004199/0.4048, allocations: 44.25 kB / 0.5968 GB, free: 18.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.4082, allocations: 0.9669 MB / 0.5978 GB, free: 17.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00781/0.4161, allocations: 2.404 MB / 0.6001 GB, free: 16.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005046/0.4211, allocations: 2.192 MB / 0.6023 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009929/0.4311, allocations: 6.987 MB / 0.6091 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002617/0.4337, allocations: 1.31 MB / 0.6104 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005314/0.4391, allocations: 2.67 MB / 0.613 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006028/0.4451, allocations: 3.292 MB / 0.6162 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00326/0.4484, allocations: 0.6715 MB / 0.6168 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004498/0.4529, allocations: 0.9484 MB / 0.6178 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002798/0.4558, allocations: 1.468 MB / 0.6192 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006169/0.4619, allocations: 2.84 MB / 0.622 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.4737, allocations: 8.068 MB / 0.6298 GB, free: 52 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4738, allocations: 0 / 0.6298 GB, free: 52 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4738, allocations: 0 / 0.6298 GB, free: 52 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003107/0.4741, allocations: 1.062 kB / 0.6299 GB, free: 52 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.04402/0.5181, allocations: 9.733 MB / 0.6394 GB, free: 9.008 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5182, allocations: 8.031 kB / 0.6394 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/0.5315, allocations: 1.937 MB / 0.6413 GB, free: 7.051 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009996/0.5415, allocations: 3.355 MB / 0.6445 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001462/0.543, allocations: 1.005 MB / 0.6455 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/0.5448, allocations: 327.8 kB / 0.6458 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/0.5579, allocations: 3.953 MB / 0.6497 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.558, allocations: 3.938 kB / 0.6497 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/0.5591, allocations: 112 kB / 0.6498 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.348e-05/0.5591, allocations: 64 kB / 0.6499 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.5699, allocations: 3.804 MB / 0.6536 GB, free: 10.12 MB / 462.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.03798/0.6079, allocations: 15.6 MB / 0.6688 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01725/0.6251, allocations: 6.454 MB / 0.6751 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006157/0.6313, allocations: 2.436 MB / 0.6775 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.6324, allocations: 0.7699 MB / 0.6782 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007347/0.6398, allocations: 2.858 MB / 0.681 GB, free: 12.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=331): time 9.658e-06/0.6398, allocations: 3.984 kB / 0.681 GB, free: 12.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=331): time 0.1133/0.7531, allocations: 25.86 MB / 0.7063 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.7533, allocations: 188.8 kB / 0.7065 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01269/0.766, allocations: 4.541 MB / 0.7109 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001384/0.7674, allocations: 101.7 kB / 0.711 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00201/0.7694, allocations: 1.743 MB / 0.7127 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00253/0.7719, allocations: 1.202 MB / 0.7139 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005297/0.7773, allocations: 1.066 MB / 0.7149 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7774, allocations: 305.1 kB / 0.7152 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008109/0.7855, allocations: 3.014 MB / 0.7181 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008984/0.7945, allocations: 3.541 MB / 0.7216 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01531/0.8099, allocations: 6.11 MB / 0.7276 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/0.8099, allocations: 0 / 0.7276 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02715/0.8371, allocations: 9.397 MB / 0.7367 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.8372, allocations: 8 kB / 0.7368 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-05/0.8372, allocations: 8 kB / 0.7368 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02698/0.8642, allocations: 10.3 MB / 0.7468 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00542/0.8697, allocations: 0.9869 MB / 0.7478 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/0.8884, allocations: 6.295 MB / 0.7539 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008349/0.8968, allocations: 0.7292 MB / 0.7546 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/0.8982, allocations: 188 kB / 0.7548 GB, free: 0.8438 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.003326/0.9016, allocations: 0.7742 MB / 0.7556 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/0.9036, allocations: 466.2 kB / 0.756 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04023/0.9439, allocations: 11.61 MB / 0.7674 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.774e-05/0.944, allocations: 40 kB / 0.7674 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.944, allocations: 0 / 0.7674 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/0.9441, allocations: 15.94 kB / 0.7674 GB, free: 3.863 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.3319/1.276, allocations: 17.69 MB / 0.7847 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.447e-05/1.276, allocations: 4.516 kB / 0.7847 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/1.279, allocations: 433.7 kB / 0.7851 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01693/1.296, allocations: 4.76 MB / 0.7898 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001167/1.297, allocations: 80.17 kB / 0.7898 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05976/1.357, allocations: 21.48 MB / 0.8108 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/1.357, allocations: 3.844 kB / 0.8108 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04552/1.403, allocations: 14.77 MB / 0.8252 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002709/1.405, allocations: 0.6953 MB / 0.8259 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002641/1.408, allocations: 72 kB / 0.826 GB, free: 140 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006267/1.414, allocations: 383.1 kB / 0.8263 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003148/1.418, allocations: 0.6194 MB / 0.827 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009187/1.419, allocations: 95.64 kB / 0.827 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006963/1.426, allocations: 2.994 MB / 0.83 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.51e-07/1.426, allocations: 0 / 0.83 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007718/1.433, allocations: 1.44 MB / 0.8314 GB, free: 135.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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.001309/1.435, allocations: 234.6 kB / 0.8316 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02795/1.463, allocations: 8.149 MB / 0.8396 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.463, allocations: 8.062 kB / 0.8396 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01369/1.476, allocations: 4.495 MB / 0.844 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00637/1.483, allocations: 410.8 kB / 0.8443 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/1.502, allocations: 9.245 MB / 0.8534 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/1.504, allocations: 2.337 MB / 0.8557 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00295/1.507, allocations: 449.2 kB / 0.8561 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/1.509, allocations: 271.4 kB / 0.8563 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.352e-06/1.509, allocations: 0 / 0.8563 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.111/1.62, allocations: 79.93 MB / 0.9344 GB, free: 30.57 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)