Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09144/0.09144, allocations: 12.6 MB / 28.1 MB, free: 248 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 103.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 240.3 MB, free: 12.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 195.5 kB / 290.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4601/0.4601, allocations: 78.5 MB / 419.2 MB, free: 11.32 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 139.8 kB / 499.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3585, allocations: 68.1 MB / 0.5546 GB, free: 32.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006813/0.3654, allocations: 6.704 MB / 0.5611 GB, free: 27.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004386/0.3698, allocations: 1.957 MB / 0.563 GB, free: 26.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.371, allocations: 14.59 kB / 0.563 GB, free: 26.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000765/0.3718, allocations: 239 kB / 0.5633 GB, free: 26.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.3739, allocations: 0.8121 MB / 0.5641 GB, free: 25.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.3751, allocations: 0.6307 MB / 0.5647 GB, free: 24.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.3769, allocations: 1.627 MB / 0.5663 GB, free: 23.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00049/0.3774, allocations: 333.9 kB / 0.5666 GB, free: 23.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009452/0.3784, allocations: 0.6736 MB / 0.5672 GB, free: 23.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007964/0.3792, allocations: 0.8595 MB / 0.5681 GB, free: 22.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.3794, allocations: 128.3 kB / 0.5682 GB, free: 22.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005762/0.38, allocations: 269.5 kB / 0.5685 GB, free: 22.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.3802, allocations: 341.1 kB / 0.5688 GB, free: 22.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.3807, allocations: 0.6882 MB / 0.5695 GB, free: 21.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.3823, allocations: 1.683 MB / 0.5711 GB, free: 20.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3823, allocations: 3.938 kB / 0.5711 GB, free: 20.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3823, allocations: 1.188 kB / 0.5711 GB, free: 20.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.3823, allocations: 0 / 0.5711 GB, free: 20.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00925/0.3916, allocations: 2.763 MB / 0.5738 GB, free: 18.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.3917, allocations: 13.08 kB / 0.5738 GB, free: 18.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.3966, allocations: 0.7736 MB / 0.5746 GB, free: 18.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.3983, allocations: 0.9058 MB / 0.5755 GB, free: 17.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/0.3985, allocations: 264.5 kB / 0.5757 GB, free: 17.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.3987, allocations: 86.75 kB / 0.5758 GB, free: 17.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.4005, allocations: 1.101 MB / 0.5769 GB, free: 16.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.4006, allocations: 3.938 kB / 0.5769 GB, free: 16.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/0.4007, allocations: 32 kB / 0.5769 GB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.4007, allocations: 20 kB / 0.5769 GB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.4024, allocations: 0.9955 MB / 0.5779 GB, free: 15.47 MB / 398.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.005521/0.4079, allocations: 3.879 MB / 0.5817 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006555/0.4145, allocations: 2.383 MB / 0.584 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.4157, allocations: 0.6878 MB / 0.5847 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.979e-05/0.4158, allocations: 20.95 kB / 0.5847 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/0.4171, allocations: 0.8256 MB / 0.5855 GB, free: 7.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 2.545e-06/0.4171, allocations: 3.938 kB / 0.5855 GB, free: 7.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=97): time 0.02607/0.4432, allocations: 7.229 MB / 0.5926 GB, free: 76 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.4433, allocations: 115.8 kB / 0.5927 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.4452, allocations: 1.123 MB / 0.5938 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.4454, allocations: 53.72 kB / 0.5938 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.4458, allocations: 0.4929 MB / 0.5943 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/0.4462, allocations: 359 kB / 0.5946 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005071/0.4467, allocations: 295.4 kB / 0.5949 GB, free: 13.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4469, allocations: 301.1 kB / 0.5952 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.4485, allocations: 0.7769 MB / 0.596 GB, free: 12.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.4502, allocations: 0.9655 MB / 0.5969 GB, free: 11.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02533/0.4756, allocations: 5.805 MB / 0.6026 GB, free: 5.625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.4756, allocations: 4 kB / 0.6026 GB, free: 5.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01458/0.4902, allocations: 4.446 MB / 0.6069 GB, free: 1.148 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.339e-05/0.4903, allocations: 63.34 kB / 0.607 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4904, allocations: 4 kB / 0.607 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006217/0.4966, allocations: 1.646 MB / 0.6086 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.4982, allocations: 287.6 kB / 0.6089 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/0.5193, allocations: 8.615 MB / 0.6173 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.5217, allocations: 206.6 kB / 0.6175 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/0.522, allocations: 59.91 kB / 0.6175 GB, free: 6.102 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008976/0.5229, allocations: 321.7 kB / 0.6179 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004684/0.5234, allocations: 126.4 kB / 0.618 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.5363, allocations: 3.893 MB / 0.6218 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.5364, allocations: 12 kB / 0.6218 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-05/0.5364, allocations: 8 kB / 0.6218 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/0.5364, allocations: 3.984 kB / 0.6218 GB, free: 1.707 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 postOpt removeSimpleEquations (simulation): time 0.01598/0.5524, allocations: 5.524 MB / 0.6272 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5525, allocations: 0 / 0.6272 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/0.5532, allocations: 99.89 kB / 0.6273 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005895/0.5591, allocations: 1.583 MB / 0.6288 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/0.5593, allocations: 27.94 kB / 0.6289 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02304/0.5824, allocations: 9.662 MB / 0.6383 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5824, allocations: 4 kB / 0.6383 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/0.5975, allocations: 4.776 MB / 0.643 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007256/0.5983, allocations: 227.2 kB / 0.6432 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005763/0.5989, allocations: 23.94 kB / 0.6432 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.6006, allocations: 107.9 kB / 0.6433 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007108/0.6013, allocations: 192.7 kB / 0.6435 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.6014, allocations: 31.98 kB / 0.6435 GB, free: 11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001419/0.6029, allocations: 0.7592 MB / 0.6443 GB, free: 10.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.587e-06/0.6029, allocations: 0 / 0.6443 GB, free: 10.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002179/0.6051, allocations: 491.5 kB / 0.6447 GB, free: 9.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003972/0.6055, allocations: 134.7 kB / 0.6449 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007473/0.613, allocations: 2.632 MB / 0.6474 GB, free: 6.941 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.613, allocations: 0 / 0.6474 GB, free: 6.941 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0045/0.6175, allocations: 1.578 MB / 0.649 GB, free: 5.324 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.619, allocations: 123.6 kB / 0.6491 GB, free: 5.203 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/0.6238, allocations: 2.399 MB / 0.6514 GB, free: 2.785 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/0.6247, allocations: 1.124 MB / 0.6525 GB, free: 1.633 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005758/0.6253, allocations: 120.1 kB / 0.6526 GB, free: 1.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.6256, allocations: 79.41 kB / 0.6527 GB, free: 1.434 MB / 462.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6256, allocations: 0 / 0.6527 GB, free: 1.434 MB / 462.1 MB Notification: Performance of Templates: time 0.04071/0.6663, allocations: 24.17 MB / 0.6763 GB, free: 9.293 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)