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.0009554/0.0009554, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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: 223.3 MB / 239.4 MB, free: 5.504 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.001112/0.001112, allocations: 180.5 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5095/0.5095, allocations: 91.92 MB / 433.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.000403, allocations: 12 kB / 0.5049 GB, free: 7.137 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 72.45 MB / 0.5756 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.009435/0.3918, allocations: 13.74 MB / 0.5891 GB, free: 26.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008753/0.4006, allocations: 3.595 MB / 0.5926 GB, free: 24.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003323/0.404, allocations: 34.25 kB / 0.5926 GB, free: 24.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.406, allocations: 436 kB / 0.593 GB, free: 23.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005425/0.4114, allocations: 1.221 MB / 0.5942 GB, free: 23.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0046/0.416, allocations: 1.412 MB / 0.5956 GB, free: 22.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006962/0.423, allocations: 3.517 MB / 0.599 GB, free: 20.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.4251, allocations: 0.7813 MB / 0.5998 GB, free: 20.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.428, allocations: 1.326 MB / 0.6011 GB, free: 19.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002955/0.4309, allocations: 1.776 MB / 0.6028 GB, free: 18.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.4321, allocations: 140.4 kB / 0.6029 GB, free: 18.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.4338, allocations: 275.3 kB / 0.6032 GB, free: 18.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.4349, allocations: 0.6104 MB / 0.6038 GB, free: 18.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002625/0.4375, allocations: 1.486 MB / 0.6053 GB, free: 17.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005781/0.4433, allocations: 3.711 MB / 0.6089 GB, free: 15.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4433, allocations: 4 kB / 0.6089 GB, free: 15.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4433, allocations: 0 / 0.6089 GB, free: 15.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002067/0.4435, allocations: 0 / 0.6089 GB, free: 15.88 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.02486/0.4684, allocations: 6.124 MB / 0.6149 GB, free: 13.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4684, allocations: 9.109 kB / 0.6149 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001099/0.4696, allocations: 298.9 kB / 0.6152 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.4855, allocations: 2.3 MB / 0.6174 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/0.4903, allocations: 1.87 MB / 0.6192 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007098/0.491, allocations: 0.7549 MB / 0.62 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006012/0.4916, allocations: 219.3 kB / 0.6202 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007277/0.4989, allocations: 3.23 MB / 0.6233 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.499, allocations: 0 / 0.6233 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002547/0.4992, allocations: 89.78 kB / 0.6234 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/0.4993, allocations: 49.34 kB / 0.6235 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006629/0.5059, allocations: 2.989 MB / 0.6264 GB, free: 8.766 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.01829/0.5242, allocations: 10.13 MB / 0.6363 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/0.537, allocations: 4.868 MB / 0.641 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005224/0.5422, allocations: 2.163 MB / 0.6431 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004543/0.5427, allocations: 41.95 kB / 0.6432 GB, free: 7.484 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006203/0.5489, allocations: 2.427 MB / 0.6455 GB, free: 5.035 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 6.633e-06/0.549, allocations: 0 / 0.6455 GB, free: 5.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1501/0.699, allocations: 36.49 MB / 0.6812 GB, free: 432 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.6992, allocations: 184.2 kB / 0.6814 GB, free: 208 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004486/0.7037, allocations: 2.285 MB / 0.6836 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000822/0.7045, allocations: 69.7 kB / 0.6837 GB, free: 13.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.7057, allocations: 1.176 MB / 0.6848 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001592/0.7073, allocations: 0.8703 MB / 0.6856 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.7084, allocations: 284.5 kB / 0.6859 GB, free: 11.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.7085, allocations: 305.1 kB / 0.6862 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005599/0.7141, allocations: 2.154 MB / 0.6883 GB, free: 9.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005892/0.72, allocations: 2.513 MB / 0.6908 GB, free: 6.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06292/0.7829, allocations: 15.43 MB / 0.7058 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/0.783, allocations: 7.938 kB / 0.7058 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.05405/0.8371, allocations: 15.09 MB / 0.7206 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.8372, allocations: 126.7 kB / 0.7207 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.8373, allocations: 4 kB / 0.7207 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0213/0.8586, allocations: 6.301 MB / 0.7269 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/0.8619, allocations: 0.5578 MB / 0.7274 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07363/0.9356, allocations: 24.78 MB / 0.7516 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00571/0.9413, allocations: 0.5908 MB / 0.7522 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/0.9424, allocations: 116 kB / 0.7523 GB, free: 6.922 MB / 0.545 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.003605/0.946, allocations: 0.5353 MB / 0.7528 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002472/0.9485, allocations: 292.3 kB / 0.7531 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0526/1.001, allocations: 14.75 MB / 0.7675 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.701e-05/1.001, allocations: 24 kB / 0.7675 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.034e-05/1.001, allocations: 20 kB / 0.7675 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.298e-05/1.001, allocations: 15.89 kB / 0.7675 GB, free: 7.223 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.3228/1.324, allocations: 18.33 MB / 0.7854 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/1.324, allocations: 1.094 kB / 0.7854 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/1.326, allocations: 248 kB / 0.7857 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02133/1.347, allocations: 6.264 MB / 0.7918 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008005/1.348, allocations: 55.2 kB / 0.7919 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06418/1.412, allocations: 25.53 MB / 0.8168 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.412, allocations: 3.969 kB / 0.8168 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0506/1.463, allocations: 17.3 MB / 0.8337 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.464, allocations: 420.2 kB / 0.8341 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001317/1.465, allocations: 47.84 kB / 0.8341 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004141/1.47, allocations: 410.7 kB / 0.8345 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002537/1.472, allocations: 0.563 MB / 0.8351 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005107/1.473, allocations: 67.8 kB / 0.8351 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002598/1.475, allocations: 1.51 MB / 0.8366 GB, free: 136 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/1.475, allocations: 0 / 0.8366 GB, free: 136 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004843/1.48, allocations: 1.17 MB / 0.8378 GB, free: 134.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.04921/1.529, allocations: 17.94 MB / 0.8553 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02029/1.55, allocations: 7.476 MB / 0.8626 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.55, allocations: 0 / 0.8626 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01496/1.565, allocations: 5.096 MB / 0.8676 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/1.569, allocations: 261.2 kB / 0.8678 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1286/1.697, allocations: 52.49 MB / 0.9191 GB, free: 50.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/1.699, allocations: 1.802 MB / 0.9208 GB, free: 48.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001624/1.701, allocations: 266.5 kB / 0.9211 GB, free: 48.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/1.702, allocations: 1.218 MB / 0.9223 GB, free: 46.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/1.702, allocations: 3.5 kB / 0.9223 GB, free: 46.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3889/2.091, allocations: 80.91 MB / 1.001 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/2.091, allocations: 239.3 kB / 1.002 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.624/6.715, allocations: 1.156 kB / 1.002 GB, free: 184.2 MB / 0.5919 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)