Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006681/0.006681, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.433/1.433, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001249/0.001249, allocations: 196.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5464/0.5464, allocations: 91.9 MB / 431.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 73.98 kB / 0.5727 GB, free: 33.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1648, allocations: 71.29 MB / 0.6423 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007097/0.1719, allocations: 6.521 MB / 0.6487 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.1765, allocations: 1.958 MB / 0.6506 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000841/0.1773, allocations: 8 kB / 0.6506 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007961/0.1782, allocations: 233.9 kB / 0.6509 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.1803, allocations: 0.8067 MB / 0.6516 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.1817, allocations: 0.6209 MB / 0.6523 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.1838, allocations: 1.585 MB / 0.6538 GB, free: 7.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004902/0.1843, allocations: 326.4 kB / 0.6541 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000803/0.1851, allocations: 0.6574 MB / 0.6548 GB, free: 6.832 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008933/0.186, allocations: 0.8323 MB / 0.6556 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.1862, allocations: 120 kB / 0.6557 GB, free: 5.879 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.1868, allocations: 263.8 kB / 0.6559 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.1871, allocations: 318.7 kB / 0.6562 GB, free: 5.309 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.1877, allocations: 0.6719 MB / 0.6569 GB, free: 4.633 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.1897, allocations: 1.665 MB / 0.6585 GB, free: 2.961 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1897, allocations: 0 / 0.6585 GB, free: 2.961 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.999e-06/0.1897, allocations: 4 kB / 0.6585 GB, free: 2.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.1898, allocations: 3.938 kB / 0.6585 GB, free: 2.953 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00849/0.1983, allocations: 2.734 MB / 0.6612 GB, free: 152 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1983, allocations: 8.031 kB / 0.6612 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.2033, allocations: 0.7835 MB / 0.662 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.2049, allocations: 0.8951 MB / 0.6628 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.2052, allocations: 260.2 kB / 0.6631 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.2054, allocations: 80 kB / 0.6632 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.2076, allocations: 1.083 MB / 0.6642 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.2076, allocations: 0 / 0.6642 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.2077, allocations: 32 kB / 0.6643 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.2077, allocations: 16 kB / 0.6643 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.2097, allocations: 0.9916 MB / 0.6652 GB, free: 11.9 MB / 478.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.00663/0.2164, allocations: 3.805 MB / 0.669 GB, free: 7.914 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007144/0.2235, allocations: 2.365 MB / 0.6713 GB, free: 5.453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.2249, allocations: 0.6762 MB / 0.6719 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.225, allocations: 12.98 kB / 0.6719 GB, free: 4.762 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001654/0.2267, allocations: 0.8177 MB / 0.6727 GB, free: 3.926 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 2.725e-06/0.2267, allocations: 0 / 0.6727 GB, free: 3.926 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.02896/0.2557, allocations: 7.191 MB / 0.6798 GB, free: 12.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.927e-05/0.2558, allocations: 123.7 kB / 0.6799 GB, free: 12.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.2583, allocations: 1.087 MB / 0.6809 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004113/0.2587, allocations: 49.7 kB / 0.681 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/0.2593, allocations: 497.5 kB / 0.6815 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006988/0.2601, allocations: 369 kB / 0.6818 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009324/0.261, allocations: 283.5 kB / 0.6821 GB, free: 10.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2611, allocations: 301.1 kB / 0.6824 GB, free: 9.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.2629, allocations: 0.7574 MB / 0.6831 GB, free: 9.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.2648, allocations: 0.9342 MB / 0.684 GB, free: 8.207 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02448/0.2893, allocations: 5.563 MB / 0.6895 GB, free: 2.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.2894, allocations: 0 / 0.6895 GB, free: 2.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01516/0.3045, allocations: 4.361 MB / 0.6937 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.291e-05/0.3047, allocations: 72.38 kB / 0.6938 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.3047, allocations: 8 kB / 0.6938 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005756/0.3105, allocations: 1.584 MB / 0.6953 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.312, allocations: 275.6 kB / 0.6956 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02141/0.3334, allocations: 8.513 MB / 0.7039 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.3361, allocations: 203.2 kB / 0.7041 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004674/0.3366, allocations: 59.91 kB / 0.7042 GB, free: 3.301 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001402/0.3381, allocations: 298.7 kB / 0.7044 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005725/0.3386, allocations: 135.1 kB / 0.7046 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.3518, allocations: 3.873 MB / 0.7084 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.3519, allocations: 16 kB / 0.7084 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.95e-05/0.3519, allocations: 8 kB / 0.7084 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.821e-05/0.352, allocations: 3.984 kB / 0.7084 GB, free: 14.93 MB / 0.5137 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.01576/0.3677, allocations: 5.44 MB / 0.7137 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.3678, allocations: 3.984 kB / 0.7137 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/0.3684, allocations: 103.8 kB / 0.7138 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00558/0.374, allocations: 1.607 MB / 0.7154 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/0.3742, allocations: 16 kB / 0.7154 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/0.3953, allocations: 9.655 MB / 0.7248 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3953, allocations: 4.062 kB / 0.7248 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/0.4101, allocations: 4.736 MB / 0.7294 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/0.4108, allocations: 232 kB / 0.7297 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004425/0.4112, allocations: 23.94 kB / 0.7297 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.4127, allocations: 107.9 kB / 0.7298 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007387/0.4134, allocations: 192.7 kB / 0.73 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.4136, allocations: 24 kB / 0.73 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001398/0.415, allocations: 0.7354 MB / 0.7307 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.415, allocations: 4 kB / 0.7307 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001981/0.417, allocations: 471.7 kB / 0.7312 GB, free: 7.129 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003808/0.4174, allocations: 135.2 kB / 0.7313 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006668/0.4241, allocations: 2.52 MB / 0.7338 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.4241, allocations: 0 / 0.7338 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004479/0.4286, allocations: 1.607 MB / 0.7353 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.4301, allocations: 126.8 kB / 0.7354 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.435, allocations: 2.244 MB / 0.7376 GB, free: 384 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008751/0.4359, allocations: 1.116 MB / 0.7387 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005524/0.4365, allocations: 120 kB / 0.7388 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.4368, allocations: 87.41 kB / 0.7389 GB, free: 15.02 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/0.4368, allocations: 0 / 0.7389 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Templates: time 0.04639/0.4832, allocations: 23.83 MB / 0.7622 GB, free: 7.199 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)