Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.333/1.333, allocations: 222.9 MB / 238.8 MB, free: 4.77 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.001688/0.001689, allocations: 188.5 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5634/0.5634, allocations: 91.88 MB / 431.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 80.11 kB / 0.5012 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4182, allocations: 71.27 MB / 0.5708 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01637/0.4346, allocations: 23.3 MB / 0.5936 GB, free: 20.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.4479, allocations: 5.141 MB / 0.5986 GB, free: 16.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007571/0.4555, allocations: 50.78 kB / 0.5986 GB, free: 16.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00403/0.4596, allocations: 0.6657 MB / 0.5993 GB, free: 16.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.4707, allocations: 1.737 MB / 0.601 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005987/0.4767, allocations: 1.911 MB / 0.6028 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.4871, allocations: 5.429 MB / 0.6081 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/0.4894, allocations: 1.151 MB / 0.6093 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004872/0.4943, allocations: 2.151 MB / 0.6114 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004704/0.499, allocations: 2.813 MB / 0.6141 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009328/0.5, allocations: 285.9 kB / 0.6144 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.5018, allocations: 421.8 kB / 0.6148 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008849/0.5027, allocations: 1.007 MB / 0.6158 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002666/0.5054, allocations: 2.455 MB / 0.6182 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009175/0.5146, allocations: 5.987 MB / 0.624 GB, free: 3.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.5146, allocations: 0.7031 kB / 0.624 GB, free: 3.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5146, allocations: 4 kB / 0.624 GB, free: 3.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002908/0.5149, allocations: 0 / 0.624 GB, free: 3.547 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03582/0.5507, allocations: 9.155 MB / 0.633 GB, free: 15.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.5508, allocations: 8.031 kB / 0.633 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02618/0.577, allocations: 4.009 MB / 0.6369 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007032/0.5841, allocations: 2.65 MB / 0.6395 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009243/0.585, allocations: 0.9612 MB / 0.6404 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008804/0.5859, allocations: 347.9 kB / 0.6407 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009597/0.5955, allocations: 4.723 MB / 0.6453 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.558e-05/0.5956, allocations: 3.938 kB / 0.6454 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004048/0.596, allocations: 140 kB / 0.6455 GB, free: 2.148 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/0.5961, allocations: 84 kB / 0.6456 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008446/0.6045, allocations: 4.244 MB / 0.6497 GB, free: 13.82 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.03613/0.6406, allocations: 18.31 MB / 0.6676 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.6526, allocations: 4.996 MB / 0.6725 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005331/0.658, allocations: 2.78 MB / 0.6752 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004172/0.6584, allocations: 70.84 kB / 0.6753 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00606/0.6645, allocations: 3.173 MB / 0.6784 GB, free: 15.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=382): time 9.017e-06/0.6645, allocations: 0 / 0.6784 GB, free: 15.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=382): time 0.3105/0.975, allocations: 68.19 MB / 0.7449 GB, free: 10.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.9752, allocations: 153.7 kB / 0.7451 GB, free: 10.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00666/0.9818, allocations: 3.226 MB / 0.7482 GB, free: 7.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001602/0.9835, allocations: 85.7 kB / 0.7483 GB, free: 7.273 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002183/0.9857, allocations: 1.967 MB / 0.7502 GB, free: 5.293 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002952/0.9886, allocations: 1.313 MB / 0.7515 GB, free: 3.961 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003635/0.9923, allocations: 0.6664 MB / 0.7522 GB, free: 3.281 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.9924, allocations: 305.1 kB / 0.7525 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006251/0.9987, allocations: 2.581 MB / 0.755 GB, free: 400 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006638/1.005, allocations: 3.209 MB / 0.7581 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4198/1.425, allocations: 18.75 MB / 0.7764 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/1.425, allocations: 6.516 kB / 0.7764 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05774/1.483, allocations: 16.92 MB / 0.793 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/1.483, allocations: 75.08 kB / 0.793 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.596e-05/1.483, allocations: 13.91 kB / 0.7931 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02612/1.509, allocations: 7.222 MB / 0.8001 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/1.513, allocations: 0.6694 MB / 0.8008 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0757/1.589, allocations: 31.03 MB / 0.8311 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007257/1.596, allocations: 0.6056 MB / 0.8317 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.597, allocations: 159.5 kB / 0.8318 GB, free: 136.5 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002364/1.599, allocations: 0.6537 MB / 0.8325 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/1.601, allocations: 463.9 kB / 0.8329 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05062/1.652, allocations: 16.84 MB / 0.8493 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.766e-05/1.652, allocations: 40 kB / 0.8494 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-05/1.652, allocations: 31.94 kB / 0.8494 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001269/1.652, allocations: 19.94 kB / 0.8494 GB, free: 118.5 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.05861/1.711, allocations: 21.82 MB / 0.8707 GB, free: 96.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/1.711, allocations: 3.938 kB / 0.8707 GB, free: 96.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/1.713, allocations: 387.5 kB / 0.8711 GB, free: 96.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02418/1.737, allocations: 7.378 MB / 0.8783 GB, free: 88.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001384/1.739, allocations: 79.92 kB / 0.8784 GB, free: 88.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07696/1.816, allocations: 28.95 MB / 0.9067 GB, free: 59.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.816, allocations: 3.938 kB / 0.9067 GB, free: 59.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06398/1.88, allocations: 20.2 MB / 0.9264 GB, free: 39.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002576/1.882, allocations: 0.557 MB / 0.9269 GB, free: 38.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002834/1.885, allocations: 60 kB / 0.927 GB, free: 38.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006228/1.892, allocations: 383.5 kB / 0.9273 GB, free: 38.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004396/1.896, allocations: 0.7607 MB / 0.9281 GB, free: 37.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001027/1.897, allocations: 95.98 kB / 0.9282 GB, free: 37.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003649/1.901, allocations: 2.105 MB / 0.9302 GB, free: 35.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/1.901, allocations: 0 / 0.9302 GB, free: 35.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008039/1.909, allocations: 1.798 MB / 0.932 GB, free: 33.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008369/1.91, allocations: 195.8 kB / 0.9322 GB, free: 33.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02352/1.933, allocations: 9.121 MB / 0.9411 GB, free: 24.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.933, allocations: 0 / 0.9411 GB, free: 24.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01947/1.953, allocations: 6.175 MB / 0.9471 GB, free: 17.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005469/1.958, allocations: 378.1 kB / 0.9475 GB, free: 17.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/1.975, allocations: 9.675 MB / 0.9569 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/1.977, allocations: 2.451 MB / 0.9593 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002071/1.979, allocations: 375 kB / 0.9597 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008711/1.98, allocations: 235.4 kB / 0.9599 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/1.98, allocations: 0 / 0.9599 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of Templates: time 0.4711/2.451, allocations: 84.26 MB / 1.042 GB, free: 169.8 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)