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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, 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.75 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.001371/0.001371, 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.5355/0.5355, allocations: 91.91 MB / 431.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 80.42 kB / 0.5013 GB, free: 8.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3977, allocations: 71.26 MB / 0.5709 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01039/0.4081, allocations: 14.4 MB / 0.585 GB, free: 26.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008176/0.4163, allocations: 3.628 MB / 0.5885 GB, free: 24.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/0.4195, allocations: 36.03 kB / 0.5885 GB, free: 24.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.421, allocations: 434 kB / 0.589 GB, free: 24.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.4257, allocations: 1.237 MB / 0.5902 GB, free: 23.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.4289, allocations: 1.412 MB / 0.5915 GB, free: 22.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004963/0.4339, allocations: 3.513 MB / 0.595 GB, free: 20.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.4351, allocations: 0.7965 MB / 0.5958 GB, free: 20.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.4374, allocations: 1.397 MB / 0.5971 GB, free: 19.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.4396, allocations: 1.858 MB / 0.5989 GB, free: 18.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005402/0.4401, allocations: 175.2 kB / 0.5991 GB, free: 18.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.4412, allocations: 317 kB / 0.5994 GB, free: 18.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005298/0.4417, allocations: 0.6503 MB / 0.6 GB, free: 18.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.4431, allocations: 1.526 MB / 0.6015 GB, free: 17.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.4467, allocations: 3.804 MB / 0.6052 GB, free: 15.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4467, allocations: 1.266 kB / 0.6052 GB, free: 15.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4467, allocations: 5.125 kB / 0.6053 GB, free: 15.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.477e-05/0.4468, allocations: 0 / 0.6053 GB, free: 15.69 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.02575/0.4726, allocations: 6.588 MB / 0.6117 GB, free: 13.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4726, allocations: 10.09 kB / 0.6117 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004668/0.4731, allocations: 299.1 kB / 0.612 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/0.489, allocations: 2.273 MB / 0.6142 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00455/0.4936, allocations: 1.872 MB / 0.616 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006105/0.4943, allocations: 0.7307 MB / 0.6167 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005409/0.4948, allocations: 214.3 kB / 0.6169 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006674/0.5015, allocations: 3.023 MB / 0.6199 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.5016, allocations: 1 kB / 0.6199 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.5018, allocations: 90.28 kB / 0.62 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.365e-05/0.5019, allocations: 52.56 kB / 0.62 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006079/0.508, allocations: 2.785 MB / 0.6228 GB, free: 8.391 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.01738/0.5254, allocations: 9.857 MB / 0.6324 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.5365, allocations: 4.188 MB / 0.6365 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004226/0.5407, allocations: 1.964 MB / 0.6384 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/0.5411, allocations: 45.95 kB / 0.6384 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004636/0.5457, allocations: 2.228 MB / 0.6406 GB, free: 6.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 6.021e-06/0.5457, allocations: 7.922 kB / 0.6406 GB, free: 6.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1337/0.6795, allocations: 29.46 MB / 0.6694 GB, free: 8.949 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.6796, allocations: 184.2 kB / 0.6696 GB, free: 8.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/0.6844, allocations: 2.281 MB / 0.6718 GB, free: 6.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008735/0.6853, allocations: 73.64 kB / 0.6719 GB, free: 6.352 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.6865, allocations: 1.176 MB / 0.673 GB, free: 5.164 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001516/0.6881, allocations: 0.8703 MB / 0.6739 GB, free: 4.281 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002091/0.6902, allocations: 0.554 MB / 0.6744 GB, free: 3.719 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6903, allocations: 305.1 kB / 0.6747 GB, free: 3.418 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004854/0.6952, allocations: 1.951 MB / 0.6766 GB, free: 1.465 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005253/0.7004, allocations: 2.314 MB / 0.6789 GB, free: 15.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05786/0.7583, allocations: 14.01 MB / 0.6925 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-05/0.7584, allocations: 3.938 kB / 0.6925 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04318/0.8016, allocations: 12.28 MB / 0.7045 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.8017, allocations: 122.7 kB / 0.7046 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.8017, allocations: 8 kB / 0.7046 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01868/0.8204, allocations: 5.313 MB / 0.7098 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003188/0.8236, allocations: 0.5578 MB / 0.7104 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06034/0.884, allocations: 21.6 MB / 0.7315 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005149/0.8892, allocations: 489 kB / 0.7319 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007949/0.89, allocations: 120 kB / 0.7321 GB, free: 8.086 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.002058/0.8921, allocations: 0.5256 MB / 0.7326 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/0.8933, allocations: 300.3 kB / 0.7329 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04219/0.9355, allocations: 11.9 MB / 0.7445 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-05/0.9356, allocations: 24 kB / 0.7445 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.014e-05/0.9356, allocations: 23.94 kB / 0.7445 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.797e-05/0.9357, allocations: 11.95 kB / 0.7445 GB, free: 11.23 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.04814/0.9839, allocations: 15.49 MB / 0.7597 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.5e-05/0.984, allocations: 4 kB / 0.7597 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/0.9858, allocations: 243.6 kB / 0.7599 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01964/1.005, allocations: 5.287 MB / 0.7651 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001175/1.007, allocations: 55.92 kB / 0.7651 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2789/1.286, allocations: 22.67 MB / 0.7873 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.286, allocations: 1.094 kB / 0.7873 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04684/1.333, allocations: 14.26 MB / 0.8012 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.334, allocations: 416.1 kB / 0.8016 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009775/1.335, allocations: 44.89 kB / 0.8016 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003364/1.338, allocations: 297.2 kB / 0.8019 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002492/1.341, allocations: 0.5757 MB / 0.8025 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002608/1.341, allocations: 64.05 kB / 0.8025 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002778/1.344, allocations: 1.507 MB / 0.804 GB, free: 156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.344, allocations: 0 / 0.804 GB, free: 156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00434/1.348, allocations: 1.174 MB / 0.8051 GB, free: 155.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.04356/1.392, allocations: 14.9 MB / 0.8197 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0183/1.41, allocations: 6.586 MB / 0.8261 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.41, allocations: 0 / 0.8261 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01281/1.423, allocations: 4.41 MB / 0.8304 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/1.426, allocations: 264.4 kB / 0.8307 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1112/1.537, allocations: 46.53 MB / 0.8761 GB, free: 90.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/1.539, allocations: 1.812 MB / 0.8779 GB, free: 89.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001545/1.54, allocations: 262.4 kB / 0.8781 GB, free: 88.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/1.542, allocations: 1.222 MB / 0.8793 GB, free: 87.66 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.542, allocations: 0 / 0.8793 GB, free: 87.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.651, allocations: 82.43 MB / 0.9598 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/1.652, allocations: 240.2 kB / 0.9601 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.337/5.989, allocations: 3.625 kB / 0.9601 GB, free: 5.203 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)