Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009019/0.0009019, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007815/0.0007815, allocations: 92.69 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06463/0.06463, allocations: 12.19 MB / 321.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2739/0.2739, allocations: 78.06 MB / 450.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.435e-05/1.437e-05, allocations: 0 / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 69.24 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3772/0.484, allocations: 99.3 MB / 0.6788 GB, free: 9.227 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.4842, allocations: 76.27 kB / 0.6789 GB, free: 9.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05863/0.5429, allocations: 24.65 MB / 0.703 GB, free: 4.941 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5429, allocations: 0 / 0.703 GB, free: 4.941 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.868e-05/0.543, allocations: 20 kB / 0.703 GB, free: 4.922 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004333/0.5473, allocations: 1.786 MB / 0.7047 GB, free: 3.215 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5473, allocations: 12.03 kB / 0.7047 GB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.5503, allocations: 0.565 MB / 0.7053 GB, free: 2.688 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.5515, allocations: 0.7188 MB / 0.706 GB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/0.5518, allocations: 243.9 kB / 0.7062 GB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5519, allocations: 44 kB / 0.7063 GB, free: 1.734 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001256/0.5531, allocations: 0.8216 MB / 0.7071 GB, free: 1.238 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.5544, allocations: 0.755 MB / 0.7078 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.5544, allocations: 7.969 kB / 0.7078 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/0.5545, allocations: 0 / 0.7078 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.5545, allocations: 23.95 kB / 0.7078 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005357/0.5599, allocations: 3.433 MB / 0.7112 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.561, allocations: 1.188 MB / 0.7124 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006889/0.5617, allocations: 0.5619 MB / 0.7129 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.5619, allocations: 8.781 kB / 0.7129 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.5619, allocations: 50.11 kB / 0.713 GB, free: 12.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=97): time 2.194e-06/0.5619, allocations: 0 / 0.713 GB, free: 12.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.01159/0.5735, allocations: 4.003 MB / 0.7169 GB, free: 9.195 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.5736, allocations: 72.12 kB / 0.7169 GB, free: 9.113 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.5746, allocations: 0.6794 MB / 0.7176 GB, free: 8.594 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.5748, allocations: 25.7 kB / 0.7176 GB, free: 8.562 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.5751, allocations: 0.4986 MB / 0.7181 GB, free: 8.285 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/0.5754, allocations: 331 kB / 0.7184 GB, free: 7.996 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.5755, allocations: 0 / 0.7184 GB, free: 7.996 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5756, allocations: 340.4 kB / 0.7188 GB, free: 7.672 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006493/0.5763, allocations: 423 kB / 0.7192 GB, free: 7.457 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.577, allocations: 0.5204 MB / 0.7197 GB, free: 7.113 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/0.5777, allocations: 468.5 kB / 0.7201 GB, free: 6.863 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5777, allocations: 4 kB / 0.7201 GB, free: 6.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01148/0.5892, allocations: 4.081 MB / 0.7241 GB, free: 3.297 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.5892, allocations: 4.938 kB / 0.7241 GB, free: 3.293 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5892, allocations: 7.938 kB / 0.7241 GB, free: 3.285 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005264/0.5945, allocations: 1.681 MB / 0.7258 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.5954, allocations: 178.6 kB / 0.7259 GB, free: 1.656 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.6081, allocations: 7.071 MB / 0.7328 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.6095, allocations: 187.2 kB / 0.733 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/0.6096, allocations: 27.98 kB / 0.733 GB, free: 12.39 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002816/0.6098, allocations: 128.2 kB / 0.7332 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01145/0.6213, allocations: 4.015 MB / 0.7371 GB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004752/0.6218, allocations: 122.5 kB / 0.7372 GB, free: 8.109 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/0.6334, allocations: 4.124 MB / 0.7412 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.6335, allocations: 8 kB / 0.7412 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6335, allocations: 0 / 0.7412 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.6335, allocations: 3.984 kB / 0.7412 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.6472, allocations: 5.667 MB / 0.7468 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.6472, allocations: 0 / 0.7468 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/0.648, allocations: 143.8 kB / 0.7469 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005032/0.6531, allocations: 1.664 MB / 0.7485 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.6533, allocations: 7.984 kB / 0.7485 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/0.6655, allocations: 6.199 MB / 0.7546 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.6655, allocations: 3.984 kB / 0.7546 GB, free: 6.023 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/0.6788, allocations: 4.904 MB / 0.7594 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.6792, allocations: 207.4 kB / 0.7596 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.6793, allocations: 3.953 kB / 0.7596 GB, free: 0.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.6804, allocations: 147.9 kB / 0.7597 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006279/0.6811, allocations: 212.9 kB / 0.7599 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.6811, allocations: 24 kB / 0.76 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007046/0.6819, allocations: 0.5225 MB / 0.7605 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6819, allocations: 0 / 0.7605 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001193/0.6831, allocations: 395.3 kB / 0.7608 GB, free: 15.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01326/0.6963, allocations: 5.488 MB / 0.7662 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005125/0.7015, allocations: 1.95 MB / 0.7681 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7015, allocations: 0 / 0.7681 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0041/0.7056, allocations: 1.452 MB / 0.7695 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.7063, allocations: 56.38 kB / 0.7696 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.7097, allocations: 1.578 MB / 0.7711 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.7104, allocations: 1.118 MB / 0.7722 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003292/0.7108, allocations: 69.48 kB / 0.7723 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.7113, allocations: 423.3 kB / 0.7727 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of SimCode: time 2.375e-06/0.7113, allocations: 0 / 0.7727 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0515/0.7628, allocations: 27.3 MB / 0.7993 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.7631, allocations: 145 kB / 0.7995 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/3.416, allocations: 0 / 0.7995 GB, free: 7.852 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)