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.001413/0.001413, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.36/1.36, allocations: 222.9 MB / 240 MB, free: 4.578 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.001545/0.001545, allocations: 184.5 kB / 290.3 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5392/0.5392, allocations: 91.9 MB / 432.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001689, allocations: 83.86 kB / 0.5033 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3655, allocations: 71.26 MB / 0.5729 GB, free: 37.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01485/0.3804, allocations: 21.82 MB / 0.5942 GB, free: 22.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.3912, allocations: 4.865 MB / 0.5989 GB, free: 18.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004503/0.3958, allocations: 49.62 kB / 0.599 GB, free: 18.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003005/0.3988, allocations: 0.8829 MB / 0.5999 GB, free: 18.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007954/0.4068, allocations: 2.04 MB / 0.6018 GB, free: 16.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00554/0.4123, allocations: 2.061 MB / 0.6039 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01164/0.424, allocations: 5.71 MB / 0.6094 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003598/0.4276, allocations: 1.318 MB / 0.6107 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004658/0.4323, allocations: 2.319 MB / 0.613 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005314/0.4376, allocations: 2.933 MB / 0.6158 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002348/0.44, allocations: 436.2 kB / 0.6163 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003562/0.4436, allocations: 0.5748 MB / 0.6168 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002545/0.4461, allocations: 1.151 MB / 0.618 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004502/0.4506, allocations: 2.608 MB / 0.6205 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008408/0.4591, allocations: 6.224 MB / 0.6266 GB, free: 4.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4591, allocations: 1.188 kB / 0.6266 GB, free: 4.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4591, allocations: 0 / 0.6266 GB, free: 4.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002713/0.4594, allocations: 0 / 0.6266 GB, free: 4.02 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.03689/0.4963, allocations: 9.145 MB / 0.6355 GB, free: 14.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.67e-05/0.4964, allocations: 8.031 kB / 0.6355 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02781/0.5242, allocations: 4.009 MB / 0.6394 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007659/0.5319, allocations: 2.658 MB / 0.642 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001172/0.5331, allocations: 0.9573 MB / 0.643 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/0.5351, allocations: 352 kB / 0.6433 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/0.5506, allocations: 4.727 MB / 0.6479 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/0.5508, allocations: 3.938 kB / 0.6479 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001228/0.552, allocations: 140 kB / 0.648 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-05/0.5521, allocations: 84 kB / 0.6481 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.5632, allocations: 4.244 MB / 0.6523 GB, free: 12.98 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.0411/0.6044, allocations: 18.22 MB / 0.6701 GB, free: 9.578 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/0.6172, allocations: 4.992 MB / 0.6749 GB, free: 4.504 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006506/0.6237, allocations: 2.783 MB / 0.6777 GB, free: 1.711 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008783/0.6247, allocations: 74.89 kB / 0.6777 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008329/0.633, allocations: 3.177 MB / 0.6808 GB, free: 14.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=383): time 1.169e-05/0.6331, allocations: 0 / 0.6808 GB, free: 14.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=383): time 0.2864/0.9195, allocations: 68.04 MB / 0.7473 GB, free: 10.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.9197, allocations: 149.8 kB / 0.7474 GB, free: 10.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00775/0.9275, allocations: 3.214 MB / 0.7506 GB, free: 6.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001113/0.9286, allocations: 89.73 kB / 0.7506 GB, free: 6.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.9305, allocations: 1.966 MB / 0.7526 GB, free: 4.699 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002394/0.9329, allocations: 1.317 MB / 0.7539 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00348/0.9364, allocations: 0.6704 MB / 0.7545 GB, free: 2.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.9365, allocations: 309.1 kB / 0.7548 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006315/0.9428, allocations: 2.581 MB / 0.7573 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006582/0.9494, allocations: 3.205 MB / 0.7605 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3725/1.322, allocations: 18.78 MB / 0.7788 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.913e-05/1.322, allocations: 6.688 kB / 0.7788 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.06012/1.382, allocations: 17.24 MB / 0.7956 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.561e-05/1.382, allocations: 66.11 kB / 0.7957 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.913e-05/1.382, allocations: 14.69 kB / 0.7957 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02609/1.408, allocations: 7.151 MB / 0.8027 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/1.412, allocations: 0.6756 MB / 0.8034 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08457/1.497, allocations: 33.28 MB / 0.8359 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006252/1.503, allocations: 0.6237 MB / 0.8365 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/1.504, allocations: 156 kB / 0.8366 GB, free: 133.3 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.003162/1.507, allocations: 0.6647 MB / 0.8373 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001777/1.509, allocations: 454.3 kB / 0.8377 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04981/1.559, allocations: 16.84 MB / 0.8542 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/1.559, allocations: 36 kB / 0.8542 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001075/1.559, allocations: 32 kB / 0.8542 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001129/1.559, allocations: 19.92 kB / 0.8542 GB, free: 115.2 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.05996/1.619, allocations: 21.84 MB / 0.8756 GB, free: 93.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.002e-05/1.619, allocations: 0 / 0.8756 GB, free: 93.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/1.622, allocations: 391.5 kB / 0.8759 GB, free: 92.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02321/1.645, allocations: 7.343 MB / 0.8831 GB, free: 85.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001121/1.646, allocations: 75.98 kB / 0.8832 GB, free: 85.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0767/1.723, allocations: 31.8 MB / 0.9142 GB, free: 53.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.723, allocations: 2.203 kB / 0.9142 GB, free: 53.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05872/1.782, allocations: 20.21 MB / 0.934 GB, free: 33.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.783, allocations: 0.557 MB / 0.9345 GB, free: 32.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001736/1.785, allocations: 68.06 kB / 0.9346 GB, free: 32.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005033/1.79, allocations: 383.5 kB / 0.9349 GB, free: 32.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003455/1.794, allocations: 0.7844 MB / 0.9357 GB, free: 31.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008737/1.794, allocations: 99.92 kB / 0.9358 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003561/1.798, allocations: 2.101 MB / 0.9379 GB, free: 29.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.798, allocations: 0 / 0.9379 GB, free: 29.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00705/1.805, allocations: 1.798 MB / 0.9396 GB, free: 27.3 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.001046/1.806, allocations: 198.6 kB / 0.9398 GB, free: 27.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02381/1.83, allocations: 9.142 MB / 0.9487 GB, free: 17.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.83, allocations: 0 / 0.9487 GB, free: 17.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01845/1.849, allocations: 6.142 MB / 0.9547 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005711/1.854, allocations: 386 kB / 0.9551 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.874, allocations: 7.845 MB / 0.9628 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/1.877, allocations: 2.443 MB / 0.9651 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002208/1.879, allocations: 375.1 kB / 0.9655 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.88, allocations: 251.4 kB / 0.9657 GB, free: 404 kB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.88, allocations: 0 / 0.9657 GB, free: 404 kB / 0.5606 GB Notification: Performance of Templates: time 0.4172/2.298, allocations: 88.81 MB / 1.052 GB, free: 163.6 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)