Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001354, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.4/1.4, allocations: 222.9 MB / 238.9 MB, free: 4.742 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.001388/0.001388, allocations: 184.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5271/0.5271, allocations: 91.89 MB / 431.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 75.88 kB / 0.5012 GB, free: 8.141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.403, allocations: 71.27 MB / 0.5708 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01643/0.4195, allocations: 23.54 MB / 0.5938 GB, free: 20.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.4333, allocations: 5.203 MB / 0.5989 GB, free: 16.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007313/0.4407, allocations: 51.78 kB / 0.5989 GB, free: 16.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004287/0.445, allocations: 0.6675 MB / 0.5996 GB, free: 16.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.4563, allocations: 1.765 MB / 0.6013 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006599/0.4629, allocations: 1.921 MB / 0.6032 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01111/0.474, allocations: 5.513 MB / 0.6085 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.4766, allocations: 1.145 MB / 0.6097 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004776/0.4814, allocations: 2.187 MB / 0.6118 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007355/0.4888, allocations: 2.855 MB / 0.6146 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003339/0.4922, allocations: 294.5 kB / 0.6149 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004919/0.4971, allocations: 437.5 kB / 0.6153 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00287/0.5, allocations: 1.014 MB / 0.6163 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007382/0.5074, allocations: 2.483 MB / 0.6187 GB, free: 5.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.5196, allocations: 6.053 MB / 0.6246 GB, free: 2.785 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.5196, allocations: 0 / 0.6246 GB, free: 2.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.5197, allocations: 1.625 kB / 0.6246 GB, free: 2.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004215/0.5201, allocations: 0 / 0.6246 GB, free: 2.785 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.04192/0.562, allocations: 9.244 MB / 0.6336 GB, free: 14.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.5621, allocations: 8.031 kB / 0.6336 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02792/0.59, allocations: 4.016 MB / 0.6376 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008636/0.5987, allocations: 2.69 MB / 0.6402 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001191/0.5999, allocations: 0.9574 MB / 0.6411 GB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00213/0.6021, allocations: 352 kB / 0.6415 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01767/0.6198, allocations: 4.751 MB / 0.6461 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.62, allocations: 0 / 0.6461 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/0.6217, allocations: 140 kB / 0.6462 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.775e-05/0.6218, allocations: 88 kB / 0.6463 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.6354, allocations: 4.267 MB / 0.6505 GB, free: 12.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.04768/0.6831, allocations: 18.43 MB / 0.6685 GB, free: 9.211 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01378/0.697, allocations: 5.029 MB / 0.6734 GB, free: 4.105 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007109/0.7041, allocations: 2.795 MB / 0.6761 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009611/0.7051, allocations: 74.92 kB / 0.6762 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008827/0.714, allocations: 3.201 MB / 0.6793 GB, free: 13.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=385): time 1.201e-05/0.714, allocations: 0 / 0.6793 GB, free: 13.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=385): time 0.3099/1.024, allocations: 66.81 MB / 0.7446 GB, free: 10.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/1.024, allocations: 149.8 kB / 0.7447 GB, free: 10.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007848/1.032, allocations: 3.267 MB / 0.7479 GB, free: 7.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001787/1.034, allocations: 89.7 kB / 0.748 GB, free: 7.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002129/1.036, allocations: 1.978 MB / 0.7499 GB, free: 5.438 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003263/1.039, allocations: 1.324 MB / 0.7512 GB, free: 4.094 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004912/1.044, allocations: 0.6823 MB / 0.7519 GB, free: 3.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.044, allocations: 317.1 kB / 0.7522 GB, free: 3.086 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006837/1.051, allocations: 2.612 MB / 0.7547 GB, free: 476 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007374/1.059, allocations: 3.253 MB / 0.7579 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3703/1.429, allocations: 19.13 MB / 0.7766 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.697e-05/1.429, allocations: 5.469 kB / 0.7766 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05803/1.487, allocations: 17.25 MB / 0.7934 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/1.487, allocations: 64.72 kB / 0.7935 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/1.487, allocations: 15.12 kB / 0.7935 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02691/1.514, allocations: 7.295 MB / 0.8006 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003606/1.518, allocations: 0.6908 MB / 0.8013 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.073/1.591, allocations: 31.14 MB / 0.8317 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007608/1.598, allocations: 0.6222 MB / 0.8323 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006763/1.599, allocations: 157 kB / 0.8325 GB, free: 135.4 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 (409): * Single equations (assignments): 406 * 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,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002203/1.601, allocations: 0.67 MB / 0.8331 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.603, allocations: 466.2 kB / 0.8336 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04966/1.652, allocations: 16.88 MB / 0.8501 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-05/1.652, allocations: 39.94 kB / 0.8501 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.824e-05/1.652, allocations: 32 kB / 0.8501 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001082/1.652, allocations: 23.92 kB / 0.8502 GB, free: 117.3 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.05697/1.709, allocations: 21.91 MB / 0.8716 GB, free: 95.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.772e-05/1.709, allocations: 0 / 0.8716 GB, free: 95.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.712, allocations: 395.5 kB / 0.8719 GB, free: 94.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02346/1.736, allocations: 7.348 MB / 0.8791 GB, free: 87.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001099/1.737, allocations: 67.98 kB / 0.8792 GB, free: 87.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06514/1.802, allocations: 28.99 MB / 0.9075 GB, free: 58.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.802, allocations: 0 / 0.9075 GB, free: 58.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05663/1.859, allocations: 20.28 MB / 0.9273 GB, free: 37.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003114/1.862, allocations: 0.5609 MB / 0.9278 GB, free: 37.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002243/1.864, allocations: 64 kB / 0.9279 GB, free: 37.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005004/1.869, allocations: 383.5 kB / 0.9283 GB, free: 36.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003205/1.872, allocations: 0.7607 MB / 0.929 GB, free: 36.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004506/1.873, allocations: 99.92 kB / 0.9291 GB, free: 35.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00319/1.876, allocations: 2.141 MB / 0.9312 GB, free: 33.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.51e-07/1.876, allocations: 0 / 0.9312 GB, free: 33.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00762/1.884, allocations: 1.825 MB / 0.933 GB, free: 31.99 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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.0008536/1.884, allocations: 199.9 kB / 0.9332 GB, free: 31.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02524/1.91, allocations: 9.211 MB / 0.9422 GB, free: 22.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.91, allocations: 64 / 0.9422 GB, free: 22.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01912/1.929, allocations: 6.197 MB / 0.9482 GB, free: 16.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/1.933, allocations: 386.4 kB / 0.9486 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/1.948, allocations: 9.906 MB / 0.9583 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/1.95, allocations: 2.455 MB / 0.9607 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001836/1.952, allocations: 375.2 kB / 0.961 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00092/1.953, allocations: 239.4 kB / 0.9612 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/1.953, allocations: 0 / 0.9612 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of Templates: time 0.3926/2.345, allocations: 85.22 MB / 1.044 GB, free: 167.6 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)