Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 175.6 kB / 15.42 MB, free: 6.145 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.8 MB / 239 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007574/0.0007574, allocations: 90.64 kB / 289.8 MB, free: 14.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4416/0.4416, allocations: 78.42 MB / 418.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003456, allocations: 19.98 kB / 498.5 MB, free: 3.762 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2943, allocations: 68.73 MB / 0.554 GB, free: 39.79 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01091/0.3052, allocations: 14.37 MB / 0.568 GB, free: 31.88 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007954/0.3132, allocations: 3.603 MB / 0.5715 GB, free: 30.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.3162, allocations: 32.25 kB / 0.5716 GB, free: 30.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.3181, allocations: 436.6 kB / 0.572 GB, free: 30.16 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005133/0.3232, allocations: 1.232 MB / 0.5732 GB, free: 29.33 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.3265, allocations: 1.412 MB / 0.5746 GB, free: 28.55 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003808/0.3303, allocations: 3.517 MB / 0.578 GB, free: 26.83 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009694/0.3313, allocations: 0.7899 MB / 0.5788 GB, free: 26.39 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.3333, allocations: 1.326 MB / 0.5801 GB, free: 25.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.3352, allocations: 1.777 MB / 0.5818 GB, free: 24.95 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004409/0.3356, allocations: 144.6 kB / 0.5819 GB, free: 24.95 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007688/0.3364, allocations: 276.2 kB / 0.5822 GB, free: 24.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.3368, allocations: 0.6139 MB / 0.5828 GB, free: 24.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.3379, allocations: 1.463 MB / 0.5842 GB, free: 23.58 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00265/0.3405, allocations: 3.708 MB / 0.5878 GB, free: 22.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3406, allocations: 0 / 0.5878 GB, free: 22.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3406, allocations: 0 / 0.5878 GB, free: 22.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.41e-05/0.3407, allocations: 0 / 0.5878 GB, free: 22.16 MB / 426.7 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.01954/0.3602, allocations: 5.932 MB / 0.5936 GB, free: 19.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3603, allocations: 13 kB / 0.5936 GB, free: 19.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008574/0.3611, allocations: 302.7 kB / 0.5939 GB, free: 19.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.3758, allocations: 2.277 MB / 0.5962 GB, free: 19.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/0.3793, allocations: 1.871 MB / 0.598 GB, free: 18.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005866/0.3799, allocations: 0.7244 MB / 0.5987 GB, free: 17.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005041/0.3805, allocations: 218.9 kB / 0.5989 GB, free: 17.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005633/0.3861, allocations: 3.031 MB / 0.6019 GB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.3862, allocations: 1.281 kB / 0.6019 GB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.3864, allocations: 89.77 kB / 0.6019 GB, free: 16.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.3864, allocations: 49.97 kB / 0.602 GB, free: 16.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006395/0.3928, allocations: 2.788 MB / 0.6047 GB, free: 15.25 MB / 426.7 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.01761/0.4105, allocations: 9.858 MB / 0.6143 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009751/0.4202, allocations: 4.188 MB / 0.6184 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003624/0.4239, allocations: 1.967 MB / 0.6204 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.4242, allocations: 44.08 kB / 0.6204 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003961/0.4282, allocations: 2.226 MB / 0.6226 GB, free: 4.445 MB / 426.7 MB Notification: Performance of pre-optimization done (n=247): time 4.688e-06/0.4282, allocations: 0 / 0.6226 GB, free: 4.445 MB / 426.7 MB Notification: Performance of matching and sorting (n=247): time 0.1164/0.5446, allocations: 29.46 MB / 0.6513 GB, free: 7.094 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5447, allocations: 184.2 kB / 0.6515 GB, free: 6.875 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/0.548, allocations: 2.281 MB / 0.6537 GB, free: 4.574 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005951/0.5486, allocations: 69.7 kB / 0.6538 GB, free: 4.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008823/0.5495, allocations: 1.176 MB / 0.655 GB, free: 3.312 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009483/0.5505, allocations: 0.8703 MB / 0.6558 GB, free: 2.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004052/0.5509, allocations: 288.5 kB / 0.6561 GB, free: 2.141 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.551, allocations: 301.1 kB / 0.6564 GB, free: 1.844 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004039/0.555, allocations: 1.947 MB / 0.6583 GB, free: 15.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004385/0.5594, allocations: 2.315 MB / 0.6605 GB, free: 13.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05083/0.6103, allocations: 14.01 MB / 0.6742 GB, free: 15.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/0.6103, allocations: 7.938 kB / 0.6742 GB, free: 15.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.03741/0.6478, allocations: 12.27 MB / 0.6862 GB, free: 2.895 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.27e-05/0.6479, allocations: 118.7 kB / 0.6863 GB, free: 2.754 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.6479, allocations: 8 kB / 0.6863 GB, free: 2.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01652/0.6644, allocations: 5.313 MB / 0.6915 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/0.6673, allocations: 0.5734 MB / 0.6921 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05476/0.722, allocations: 21.58 MB / 0.7131 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/0.7264, allocations: 489 kB / 0.7136 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006361/0.7271, allocations: 120.8 kB / 0.7137 GB, free: 6.516 MB / 0.5105 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.001898/0.729, allocations: 0.5387 MB / 0.7143 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/0.7301, allocations: 296.3 kB / 0.7145 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03924/0.7693, allocations: 11.9 MB / 0.7262 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/0.7694, allocations: 24 kB / 0.7262 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.524e-05/0.7695, allocations: 24 kB / 0.7262 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.811e-05/0.7696, allocations: 11.95 kB / 0.7262 GB, free: 9.664 MB / 0.5261 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.04344/0.813, allocations: 15.49 MB / 0.7413 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.8131, allocations: 4 kB / 0.7414 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.8146, allocations: 247.6 kB / 0.7416 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01689/0.8315, allocations: 5.283 MB / 0.7467 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004916/0.832, allocations: 51.94 kB / 0.7468 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2553/1.087, allocations: 22.68 MB / 0.7689 GB, free: 164.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.087, allocations: 3.078 kB / 0.769 GB, free: 164.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04056/1.128, allocations: 14.26 MB / 0.7829 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008122/1.129, allocations: 405.7 kB / 0.7833 GB, free: 163.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004757/1.129, allocations: 49.41 kB / 0.7833 GB, free: 163.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002735/1.132, allocations: 293.9 kB / 0.7836 GB, free: 163.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001942/1.134, allocations: 0.5782 MB / 0.7842 GB, free: 163.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/1.134, allocations: 66.56 kB / 0.7842 GB, free: 163.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001959/1.136, allocations: 1.504 MB / 0.7857 GB, free: 163.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.136, allocations: 0 / 0.7857 GB, free: 163.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003048/1.139, allocations: 1.175 MB / 0.7868 GB, free: 163.5 MB / 0.5573 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.04327/1.183, allocations: 14.88 MB / 0.8014 GB, free: 160.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01686/1.199, allocations: 6.591 MB / 0.8078 GB, free: 157.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.199, allocations: 0.5625 kB / 0.8078 GB, free: 157.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01192/1.211, allocations: 4.387 MB / 0.8121 GB, free: 156.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/1.214, allocations: 265.3 kB / 0.8123 GB, free: 156.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09607/1.31, allocations: 46.52 MB / 0.8578 GB, free: 115 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009279/1.311, allocations: 1.806 MB / 0.8595 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001148/1.312, allocations: 262.5 kB / 0.8598 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/1.313, allocations: 1.222 MB / 0.861 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/1.313, allocations: 4 kB / 0.861 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09113/1.404, allocations: 80.9 MB / 0.94 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001214/1.404, allocations: 247.8 kB / 0.9402 GB, free: 30.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.525/5.929, allocations: 0 / 0.9402 GB, free: 30.79 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)