Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.005745/0.005745, allocations: 102.8 kB / 15.73 MB, free: 5.996 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.272/1.272, allocations: 222.9 MB / 239.4 MB, free: 4.508 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.001245/0.001244, allocations: 184.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4855/0.4855, allocations: 91.89 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 85.66 kB / 0.5723 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1194, allocations: 71.27 MB / 0.6419 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01206/0.1315, allocations: 13.82 MB / 0.6554 GB, free: 6.148 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007837/0.1394, allocations: 3.502 MB / 0.6588 GB, free: 2.637 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/0.1422, allocations: 28 kB / 0.6589 GB, free: 2.609 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.1439, allocations: 0.5576 MB / 0.6594 GB, free: 2.047 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004785/0.1487, allocations: 1.579 MB / 0.6609 GB, free: 476 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.1521, allocations: 1.519 MB / 0.6624 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004746/0.1568, allocations: 3.784 MB / 0.6661 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.1581, allocations: 0.8934 MB / 0.667 GB, free: 10.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.1602, allocations: 1.556 MB / 0.6685 GB, free: 8.66 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.1626, allocations: 1.983 MB / 0.6704 GB, free: 6.668 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006192/0.1632, allocations: 292 kB / 0.6707 GB, free: 6.383 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000906/0.1641, allocations: 435.9 kB / 0.6711 GB, free: 5.957 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005957/0.1647, allocations: 0.7779 MB / 0.6719 GB, free: 5.176 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.1662, allocations: 1.65 MB / 0.6735 GB, free: 3.516 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.17, allocations: 4.021 MB / 0.6774 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.1701, allocations: 0 / 0.6774 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1701, allocations: 0 / 0.6774 GB, free: 15.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.019e-05/0.1702, allocations: 0 / 0.6774 GB, free: 15.48 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02259/0.1928, allocations: 6.643 MB / 0.6839 GB, free: 8.742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1928, allocations: 8.031 kB / 0.6839 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004932/0.1933, allocations: 299.3 kB / 0.6842 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/0.2078, allocations: 2.279 MB / 0.6864 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004412/0.2122, allocations: 1.906 MB / 0.6883 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007763/0.213, allocations: 0.7213 MB / 0.689 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008933/0.214, allocations: 220 kB / 0.6892 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006735/0.2207, allocations: 3.047 MB / 0.6922 GB, free: 16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.2208, allocations: 0 / 0.6922 GB, free: 16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/0.221, allocations: 87.94 kB / 0.6923 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.2211, allocations: 48 kB / 0.6923 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005674/0.2267, allocations: 2.799 MB / 0.6951 GB, free: 13.05 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.01769/0.2445, allocations: 9.868 MB / 0.7047 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.2552, allocations: 4.207 MB / 0.7088 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004423/0.2597, allocations: 1.976 MB / 0.7107 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004816/0.2602, allocations: 41.91 kB / 0.7108 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005382/0.2656, allocations: 2.236 MB / 0.713 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 7.194e-06/0.2656, allocations: 0 / 0.713 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1108/0.3764, allocations: 27.43 MB / 0.7397 GB, free: 14.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.3766, allocations: 184.2 kB / 0.7399 GB, free: 14.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004712/0.3813, allocations: 2.317 MB / 0.7422 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008194/0.3822, allocations: 69.7 kB / 0.7422 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.3834, allocations: 1.172 MB / 0.7434 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001709/0.3851, allocations: 0.882 MB / 0.7443 GB, free: 9.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002625/0.3878, allocations: 0.5697 MB / 0.7448 GB, free: 9.301 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.3879, allocations: 305.1 kB / 0.7451 GB, free: 9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004627/0.3925, allocations: 1.974 MB / 0.747 GB, free: 7.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004834/0.3974, allocations: 2.338 MB / 0.7493 GB, free: 4.594 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05395/0.4513, allocations: 14.24 MB / 0.7632 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/0.4514, allocations: 3.938 kB / 0.7632 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.3042/0.7556, allocations: 12.55 MB / 0.7755 GB, free: 108 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.004e-05/0.7557, allocations: 120.6 kB / 0.7756 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.7558, allocations: 6.219 kB / 0.7756 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01647/0.7722, allocations: 5.257 MB / 0.7807 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/0.7753, allocations: 0.5867 MB / 0.7813 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04874/0.824, allocations: 23.17 MB / 0.8039 GB, free: 99.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/0.828, allocations: 490 kB / 0.8044 GB, free: 99.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005103/0.8286, allocations: 120 kB / 0.8045 GB, free: 98.92 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001171/0.8297, allocations: 0.5309 MB / 0.805 GB, free: 98.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005848/0.8303, allocations: 306.9 kB / 0.8053 GB, free: 98.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03275/0.8631, allocations: 11.93 MB / 0.817 GB, free: 86.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.8631, allocations: 24 kB / 0.817 GB, free: 86.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.683e-05/0.8632, allocations: 20 kB / 0.817 GB, free: 86.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.093e-05/0.8632, allocations: 14.02 kB / 0.817 GB, free: 86.05 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.03662/0.8999, allocations: 15.56 MB / 0.8322 GB, free: 70.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/0.8999, allocations: 2 kB / 0.8322 GB, free: 70.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.9013, allocations: 247.6 kB / 0.8324 GB, free: 70.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01437/0.9157, allocations: 5.304 MB / 0.8376 GB, free: 64.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005929/0.9164, allocations: 47.98 kB / 0.8377 GB, free: 64.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04679/0.9632, allocations: 24.92 MB / 0.862 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9632, allocations: 6.609 kB / 0.862 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03649/0.9997, allocations: 14.31 MB / 0.876 GB, free: 25.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007658/1.001, allocations: 413.6 kB / 0.8764 GB, free: 24.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005093/1.001, allocations: 47.98 kB / 0.8764 GB, free: 24.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/1.004, allocations: 299.6 kB / 0.8767 GB, free: 24.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001882/1.005, allocations: 0.5802 MB / 0.8773 GB, free: 23.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/1.006, allocations: 68.86 kB / 0.8774 GB, free: 23.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001783/1.007, allocations: 1.535 MB / 0.8788 GB, free: 22.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.008, allocations: 0 / 0.8788 GB, free: 22.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002874/1.01, allocations: 1.174 MB / 0.88 GB, free: 20.92 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.03657/1.047, allocations: 14.96 MB / 0.8946 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01526/1.062, allocations: 6.659 MB / 0.9011 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.062, allocations: 1.75 kB / 0.9011 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01235/1.075, allocations: 4.441 MB / 0.9054 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/1.078, allocations: 269.6 kB / 0.9057 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1091/1.187, allocations: 42.09 MB / 0.9468 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/1.189, allocations: 1.821 MB / 0.9486 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001346/1.19, allocations: 258.6 kB / 0.9488 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/1.192, allocations: 1.237 MB / 0.95 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of SimCode: time 1.032e-06/1.192, allocations: 0 / 0.95 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1411/1.333, allocations: 88.46 MB / 1.036 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.32/18.65, allocations: 11.61 kB / 1.036 GB, free: 4.223 MB / 0.7012 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)