Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.5 MB / 229.6 MB, free: 7.5 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.0009192/0.0009188, allocations: 102.8 kB / 280.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5087/0.5087, allocations: 78.07 MB / 409.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.856e-05/1.859e-05, allocations: 3.938 kB / 485 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1566, allocations: 69.36 MB / 0.5414 GB, free: 6.703 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.6458, allocations: 97.8 MB / 0.6369 GB, free: 1.547 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.6462, allocations: 82.23 kB / 0.637 GB, free: 1.469 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06628/0.7125, allocations: 25.41 MB / 0.6618 GB, free: 8.105 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.7125, allocations: 0 / 0.6618 GB, free: 8.105 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.091e-05/0.7126, allocations: 20 kB / 0.6618 GB, free: 8.086 MB / 474.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.004519/0.7171, allocations: 1.782 MB / 0.6635 GB, free: 6.258 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.7172, allocations: 8.031 kB / 0.6636 GB, free: 6.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/0.7203, allocations: 0.5563 MB / 0.6641 GB, free: 5.691 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.7218, allocations: 0.7363 MB / 0.6648 GB, free: 4.898 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/0.7221, allocations: 236.2 kB / 0.665 GB, free: 4.633 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.7222, allocations: 48 kB / 0.6651 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001468/0.7237, allocations: 0.8202 MB / 0.6659 GB, free: 3.766 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.7251, allocations: 0.761 MB / 0.6666 GB, free: 2.996 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.7251, allocations: 0 / 0.6666 GB, free: 2.996 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/0.7252, allocations: 0 / 0.6666 GB, free: 2.996 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.7252, allocations: 19.38 kB / 0.6666 GB, free: 2.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005861/0.7311, allocations: 3.429 MB / 0.67 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.7324, allocations: 1.199 MB / 0.6712 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000774/0.7332, allocations: 0.5544 MB / 0.6717 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.7333, allocations: 16.77 kB / 0.6717 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.7333, allocations: 43.34 kB / 0.6718 GB, free: 13.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.237e-06/0.7334, allocations: 0 / 0.6718 GB, free: 13.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01199/0.7454, allocations: 4.003 MB / 0.6757 GB, free: 9.457 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.7455, allocations: 68.12 kB / 0.6757 GB, free: 9.375 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.7466, allocations: 0.6834 MB / 0.6764 GB, free: 8.676 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002268/0.7468, allocations: 25.7 kB / 0.6764 GB, free: 8.645 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.7472, allocations: 0.5009 MB / 0.6769 GB, free: 8.137 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.7475, allocations: 327 kB / 0.6772 GB, free: 7.812 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.324e-05/0.7476, allocations: 1.219 kB / 0.6772 GB, free: 7.812 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7478, allocations: 341.9 kB / 0.6776 GB, free: 7.473 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006926/0.7485, allocations: 422.6 kB / 0.678 GB, free: 7.059 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.7492, allocations: 0.5198 MB / 0.6785 GB, free: 6.508 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000729/0.7499, allocations: 471.6 kB / 0.6789 GB, free: 6.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.75, allocations: 3.953 kB / 0.6789 GB, free: 6.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01222/0.7622, allocations: 4.079 MB / 0.6829 GB, free: 1.953 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.7623, allocations: 4 kB / 0.6829 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.7623, allocations: 4 kB / 0.6829 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005666/0.768, allocations: 1.692 MB / 0.6846 GB, free: 256 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009702/0.769, allocations: 171.8 kB / 0.6847 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/0.784, allocations: 7.065 MB / 0.6916 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.7857, allocations: 192.2 kB / 0.6918 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.786, allocations: 28 kB / 0.6918 GB, free: 8.672 MB / 0.4948 GB 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.0005142/0.7865, allocations: 118 kB / 0.692 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0126/0.7991, allocations: 4 MB / 0.6959 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006848/0.7999, allocations: 122.5 kB / 0.696 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/0.8129, allocations: 4.128 MB / 0.7 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.813, allocations: 18.55 kB / 0.7 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.813, allocations: 3.953 kB / 0.7 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-05/0.813, allocations: 3.984 kB / 0.7 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.8288, allocations: 5.656 MB / 0.7056 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/0.8288, allocations: 4 kB / 0.7056 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009226/0.8298, allocations: 143.8 kB / 0.7057 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005484/0.8353, allocations: 1.668 MB / 0.7073 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002337/0.8355, allocations: 3.984 kB / 0.7073 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.8485, allocations: 6.2 MB / 0.7134 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.8486, allocations: 0 / 0.7134 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/0.863, allocations: 4.904 MB / 0.7182 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007088/0.8638, allocations: 213.5 kB / 0.7184 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000556/0.8643, allocations: 0 / 0.7184 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/0.866, allocations: 139.9 kB / 0.7185 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009858/0.867, allocations: 216.9 kB / 0.7187 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/0.8672, allocations: 28 kB / 0.7187 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001262/0.8685, allocations: 0.5264 MB / 0.7193 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8685, allocations: 0 / 0.7193 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002295/0.8708, allocations: 383.4 kB / 0.7196 GB, free: 11.89 MB / 0.5261 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.01488/0.8857, allocations: 5.491 MB / 0.725 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005702/0.8915, allocations: 1.959 MB / 0.7269 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.8915, allocations: 0 / 0.7269 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00477/0.8963, allocations: 1.449 MB / 0.7283 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/0.8973, allocations: 57.44 kB / 0.7284 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.9018, allocations: 1.567 MB / 0.7299 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.9026, allocations: 1.118 MB / 0.731 GB, free: 140 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004003/0.903, allocations: 73.42 kB / 0.7311 GB, free: 64 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007171/0.9037, allocations: 427.4 kB / 0.7315 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of SimCode: time 1.193e-06/0.9038, allocations: 0 / 0.7315 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06077/0.9645, allocations: 27.29 MB / 0.7581 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.9648, allocations: 135.5 kB / 0.7582 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.77, allocations: 4.875 kB / 0.7583 GB, free: 4.414 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)