Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 107.5 kB / 16.37 MB, free: 6.48 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.395/1.395, allocations: 222.9 MB / 240 MB, free: 4.617 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.001462/0.001462, allocations: 195.5 kB / 290.3 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5121/0.5121, allocations: 91.9 MB / 432.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 80.09 kB / 0.5033 GB, free: 7.031 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3405, allocations: 71.26 MB / 0.5729 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.009334/0.3499, allocations: 13.62 MB / 0.5862 GB, free: 28.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007173/0.3571, allocations: 3.475 MB / 0.5896 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.3601, allocations: 33.19 kB / 0.5896 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.3618, allocations: 0.5584 MB / 0.5902 GB, free: 25.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004885/0.3667, allocations: 1.417 MB / 0.5915 GB, free: 24.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.3702, allocations: 1.51 MB / 0.593 GB, free: 23.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005324/0.3755, allocations: 3.717 MB / 0.5966 GB, free: 21.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.3772, allocations: 0.8949 MB / 0.5975 GB, free: 21.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002902/0.3801, allocations: 1.526 MB / 0.599 GB, free: 20.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.3832, allocations: 1.957 MB / 0.6009 GB, free: 19.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.3846, allocations: 285.6 kB / 0.6012 GB, free: 19.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.3865, allocations: 426.7 kB / 0.6016 GB, free: 19.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.3877, allocations: 0.7623 MB / 0.6023 GB, free: 19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00236/0.3901, allocations: 1.63 MB / 0.6039 GB, free: 17.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.3945, allocations: 3.972 MB / 0.6078 GB, free: 16.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3945, allocations: 1.438 kB / 0.6078 GB, free: 16.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3945, allocations: 0 / 0.6078 GB, free: 16.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001361/0.3946, allocations: 0 / 0.6078 GB, free: 16.06 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02421/0.4189, allocations: 6.585 MB / 0.6142 GB, free: 13.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4189, allocations: 14.92 kB / 0.6143 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.4342, allocations: 2.273 MB / 0.6165 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004744/0.4389, allocations: 1.872 MB / 0.6183 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007334/0.4397, allocations: 0.7268 MB / 0.619 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000733/0.4404, allocations: 215.3 kB / 0.6192 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006421/0.4469, allocations: 3.027 MB / 0.6222 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/0.4469, allocations: 0 / 0.6222 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.4472, allocations: 86.56 kB / 0.6223 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/0.4473, allocations: 53.5 kB / 0.6223 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005623/0.4529, allocations: 2.789 MB / 0.625 GB, free: 8.57 MB / 430.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.01664/0.4695, allocations: 9.788 MB / 0.6346 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.4797, allocations: 4.184 MB / 0.6387 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004332/0.4841, allocations: 1.964 MB / 0.6406 GB, free: 8.289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000345/0.4844, allocations: 49.95 kB / 0.6406 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004528/0.489, allocations: 2.223 MB / 0.6428 GB, free: 6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 4.148e-06/0.489, allocations: 0 / 0.6428 GB, free: 6 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1161/0.6051, allocations: 29.47 MB / 0.6716 GB, free: 8.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6052, allocations: 180.2 kB / 0.6718 GB, free: 8.184 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/0.609, allocations: 2.273 MB / 0.674 GB, free: 5.891 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009628/0.61, allocations: 73.69 kB / 0.6741 GB, free: 5.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.611, allocations: 1.183 MB / 0.6752 GB, free: 4.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001386/0.6124, allocations: 0.8666 MB / 0.6761 GB, free: 3.738 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.6137, allocations: 0.5578 MB / 0.6766 GB, free: 3.172 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6138, allocations: 305.1 kB / 0.6769 GB, free: 2.871 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004125/0.6179, allocations: 1.947 MB / 0.6788 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004308/0.6222, allocations: 2.318 MB / 0.6811 GB, free: 14.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05261/0.6749, allocations: 13.99 MB / 0.6947 GB, free: 296 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/0.6749, allocations: 4 kB / 0.6947 GB, free: 292 kB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04043/0.7154, allocations: 12.29 MB / 0.7067 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.7155, allocations: 116.8 kB / 0.7068 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.7155, allocations: 11.94 kB / 0.7069 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01771/0.7332, allocations: 5.321 MB / 0.712 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/0.7363, allocations: 0.5617 MB / 0.7126 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06207/0.7984, allocations: 23.47 MB / 0.7355 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005384/0.8038, allocations: 489 kB / 0.736 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008957/0.8048, allocations: 120 kB / 0.7361 GB, free: 5.656 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.00247/0.8073, allocations: 0.5289 MB / 0.7366 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/0.8087, allocations: 296.3 kB / 0.7369 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03965/0.8483, allocations: 11.9 MB / 0.7485 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/0.8484, allocations: 24 kB / 0.7485 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-05/0.8484, allocations: 20 kB / 0.7486 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-05/0.8485, allocations: 15.94 kB / 0.7486 GB, free: 8.805 MB / 0.545 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.046/0.8945, allocations: 15.49 MB / 0.7637 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.842e-05/0.8946, allocations: 4 kB / 0.7637 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.8963, allocations: 243.6 kB / 0.7639 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01739/0.9137, allocations: 5.283 MB / 0.7691 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008222/0.9146, allocations: 59.97 kB / 0.7692 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2908/1.205, allocations: 24.91 MB / 0.7935 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.205, allocations: 2.875 kB / 0.7935 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06325/1.269, allocations: 14.27 MB / 0.8074 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00192/1.271, allocations: 410.6 kB / 0.8078 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001809/1.272, allocations: 42.72 kB / 0.8079 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006621/1.279, allocations: 299.6 kB / 0.8081 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003938/1.283, allocations: 0.5757 MB / 0.8087 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007704/1.284, allocations: 69.16 kB / 0.8088 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005219/1.289, allocations: 1.507 MB / 0.8102 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/1.289, allocations: 0 / 0.8102 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007951/1.297, allocations: 1.171 MB / 0.8114 GB, free: 153.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0012/1.298, allocations: 185.2 kB / 0.8116 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03261/1.331, allocations: 6.708 MB / 0.8181 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.331, allocations: 0 / 0.8181 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02244/1.354, allocations: 4.403 MB / 0.8224 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004413/1.358, allocations: 264.5 kB / 0.8227 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/1.37, allocations: 5.26 MB / 0.8278 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/1.372, allocations: 1.804 MB / 0.8296 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00156/1.373, allocations: 264 kB / 0.8298 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008878/1.374, allocations: 169.7 kB / 0.83 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/1.374, allocations: 3.719 kB / 0.83 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.0896/1.464, allocations: 65.09 MB / 0.8935 GB, free: 76.45 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)