Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.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.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, 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.469/1.469, allocations: 222.9 MB / 239.2 MB, free: 4.59 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.001548/0.001548, allocations: 200.4 kB / 289.5 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5398/0.5398, allocations: 91.89 MB / 431.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.00163, allocations: 83.88 kB / 0.5019 GB, free: 7.738 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.367, allocations: 71.26 MB / 0.5715 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.0146/0.3816, allocations: 21.83 MB / 0.5928 GB, free: 21.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.3951, allocations: 4.863 MB / 0.5975 GB, free: 18.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005649/0.4008, allocations: 42.59 kB / 0.5976 GB, free: 18.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.404, allocations: 0.875 MB / 0.5984 GB, free: 17.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008263/0.4123, allocations: 2.037 MB / 0.6004 GB, free: 16.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005977/0.4183, allocations: 2.061 MB / 0.6024 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01045/0.4288, allocations: 5.671 MB / 0.608 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003214/0.4321, allocations: 1.327 MB / 0.6093 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.4368, allocations: 2.311 MB / 0.6115 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005619/0.4425, allocations: 2.938 MB / 0.6144 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002636/0.4452, allocations: 434.8 kB / 0.6148 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.4489, allocations: 0.5754 MB / 0.6154 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002297/0.4512, allocations: 1.148 MB / 0.6165 GB, free: 8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005797/0.4571, allocations: 2.611 MB / 0.619 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.4678, allocations: 6.147 MB / 0.625 GB, free: 3.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4678, allocations: 8.453 kB / 0.625 GB, free: 3.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4678, allocations: 0 / 0.625 GB, free: 3.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000326/0.4681, allocations: 1.188 kB / 0.625 GB, free: 3.363 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03711/0.5053, allocations: 9.155 MB / 0.634 GB, free: 14.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.5053, allocations: 8.031 kB / 0.634 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02902/0.5344, allocations: 4.005 MB / 0.6379 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007909/0.5423, allocations: 2.647 MB / 0.6405 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/0.5436, allocations: 0.9573 MB / 0.6414 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/0.5455, allocations: 344 kB / 0.6417 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.562, allocations: 4.727 MB / 0.6464 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.5622, allocations: 7.922 kB / 0.6464 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00164/0.5639, allocations: 140 kB / 0.6465 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.143e-05/0.564, allocations: 84 kB / 0.6466 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.576, allocations: 4.244 MB / 0.6507 GB, free: 13.07 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.04297/0.619, allocations: 18.36 MB / 0.6687 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/0.6333, allocations: 4.996 MB / 0.6735 GB, free: 4.457 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00705/0.6404, allocations: 2.785 MB / 0.6763 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007769/0.6412, allocations: 70.91 kB / 0.6763 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008854/0.6501, allocations: 3.173 MB / 0.6794 GB, free: 14.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=383): time 1.106e-05/0.6501, allocations: 0 / 0.6794 GB, free: 14.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=383): time 0.3244/0.9745, allocations: 68.05 MB / 0.7459 GB, free: 10.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.9747, allocations: 145.8 kB / 0.746 GB, free: 9.969 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006645/0.9814, allocations: 3.21 MB / 0.7492 GB, free: 6.738 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/0.9826, allocations: 93.7 kB / 0.7492 GB, free: 6.641 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001941/0.9846, allocations: 1.963 MB / 0.7512 GB, free: 4.664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002655/0.9872, allocations: 1.317 MB / 0.7524 GB, free: 3.328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003515/0.9908, allocations: 0.6743 MB / 0.7531 GB, free: 2.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.9909, allocations: 305.1 kB / 0.7534 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006973/0.9979, allocations: 2.589 MB / 0.7559 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007481/1.005, allocations: 3.213 MB / 0.7591 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.329/1.334, allocations: 18.83 MB / 0.7775 GB, free: 154 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.549e-05/1.335, allocations: 5.625 kB / 0.7775 GB, free: 154 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05856/1.393, allocations: 17.25 MB / 0.7943 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.428e-05/1.393, allocations: 65.91 kB / 0.7944 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/1.393, allocations: 15.12 kB / 0.7944 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02702/1.42, allocations: 7.17 MB / 0.8014 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003847/1.424, allocations: 0.6716 MB / 0.802 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08751/1.512, allocations: 33.32 MB / 0.8346 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007486/1.519, allocations: 0.6221 MB / 0.8352 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.521, allocations: 148 kB / 0.8353 GB, free: 132.9 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003784/1.525, allocations: 0.6707 MB / 0.836 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001945/1.526, allocations: 466.2 kB / 0.8364 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05285/1.579, allocations: 16.84 MB / 0.8529 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/1.579, allocations: 36 kB / 0.8529 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.308e-05/1.58, allocations: 28 kB / 0.8529 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001155/1.58, allocations: 19.92 kB / 0.853 GB, free: 114.8 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.06195/1.642, allocations: 21.85 MB / 0.8743 GB, free: 92.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/1.642, allocations: 7.938 kB / 0.8743 GB, free: 92.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/1.644, allocations: 390.7 kB / 0.8747 GB, free: 92.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02499/1.669, allocations: 7.356 MB / 0.8819 GB, free: 85.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001293/1.67, allocations: 73.39 kB / 0.8819 GB, free: 85.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07572/1.746, allocations: 31.85 MB / 0.913 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.746, allocations: 0 / 0.913 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05914/1.805, allocations: 20.2 MB / 0.9328 GB, free: 32.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/1.807, allocations: 0.557 MB / 0.9333 GB, free: 32.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001957/1.809, allocations: 64 kB / 0.9334 GB, free: 32.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005697/1.815, allocations: 380.3 kB / 0.9337 GB, free: 31.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003703/1.819, allocations: 0.7805 MB / 0.9345 GB, free: 30.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007252/1.819, allocations: 91.98 kB / 0.9346 GB, free: 30.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003134/1.823, allocations: 2.121 MB / 0.9366 GB, free: 28.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.823, allocations: 0 / 0.9366 GB, free: 28.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007606/1.83, allocations: 1.787 MB / 0.9384 GB, free: 26.88 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/1.831, allocations: 200.5 kB / 0.9386 GB, free: 26.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03275/1.864, allocations: 9.287 MB / 0.9476 GB, free: 17.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.864, allocations: 0 / 0.9476 GB, free: 17.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02071/1.885, allocations: 6.15 MB / 0.9537 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005265/1.89, allocations: 384.4 kB / 0.954 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.906, allocations: 7.972 MB / 0.9618 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/1.908, allocations: 2.439 MB / 0.9642 GB, free: 320 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001941/1.91, allocations: 371.1 kB / 0.9645 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009696/1.911, allocations: 251.4 kB / 0.9648 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/1.911, allocations: 4 kB / 0.9648 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.4409/2.352, allocations: 88.78 MB / 1.051 GB, free: 162.3 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)