Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.001339/0.00134, allocations: 180.9 kB / 7.65 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.39/1.391, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0009164/0.0009163, allocations: 93.02 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.494/0.494, allocations: 78.07 MB / 409.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.649e-05, allocations: 3.938 kB / 485 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1405, allocations: 69.36 MB / 0.5414 GB, free: 6.73 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4509/0.5914, allocations: 98.09 MB / 0.6372 GB, free: 1.414 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5917, allocations: 84.7 kB / 0.6372 GB, free: 1.332 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06645/0.6582, allocations: 25.54 MB / 0.6622 GB, free: 7.828 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6582, allocations: 0 / 0.6622 GB, free: 7.828 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.547e-05/0.6583, allocations: 21.03 kB / 0.6622 GB, free: 7.809 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004654/0.663, allocations: 1.787 MB / 0.664 GB, free: 5.977 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.663, allocations: 12.03 kB / 0.664 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.6663, allocations: 0.5564 MB / 0.6645 GB, free: 5.406 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.6678, allocations: 0.7286 MB / 0.6652 GB, free: 4.621 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.6681, allocations: 244.2 kB / 0.6655 GB, free: 4.348 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.6682, allocations: 51.86 kB / 0.6655 GB, free: 4.297 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001416/0.6696, allocations: 0.8241 MB / 0.6663 GB, free: 3.473 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.671, allocations: 0.7649 MB / 0.6671 GB, free: 2.699 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.671, allocations: 0 / 0.6671 GB, free: 2.699 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.6711, allocations: 0 / 0.6671 GB, free: 2.699 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.6711, allocations: 21.03 kB / 0.6671 GB, free: 2.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005868/0.677, allocations: 3.429 MB / 0.6704 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.6783, allocations: 1.203 MB / 0.6716 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/0.6791, allocations: 0.5583 MB / 0.6721 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.6792, allocations: 12.78 kB / 0.6722 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.6792, allocations: 43.34 kB / 0.6722 GB, free: 13.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.216e-06/0.6793, allocations: 4 kB / 0.6722 GB, free: 13.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01199/0.6913, allocations: 4.027 MB / 0.6761 GB, free: 9.125 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.6913, allocations: 60.19 kB / 0.6762 GB, free: 9.051 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.6924, allocations: 0.6756 MB / 0.6769 GB, free: 8.359 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.6926, allocations: 25.7 kB / 0.6769 GB, free: 8.328 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.6929, allocations: 0.5055 MB / 0.6774 GB, free: 7.816 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.6933, allocations: 323 kB / 0.6777 GB, free: 7.496 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.6934, allocations: 0 / 0.6777 GB, free: 7.496 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6935, allocations: 345.9 kB / 0.678 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006779/0.6942, allocations: 426.6 kB / 0.6784 GB, free: 6.734 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007245/0.6949, allocations: 0.5276 MB / 0.6789 GB, free: 6.176 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007101/0.6956, allocations: 471.6 kB / 0.6794 GB, free: 5.719 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6956, allocations: 4.938 kB / 0.6794 GB, free: 5.715 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01222/0.7079, allocations: 4.126 MB / 0.6834 GB, free: 1.574 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.7079, allocations: 11.95 kB / 0.6834 GB, free: 1.562 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.708, allocations: 2.312 kB / 0.6834 GB, free: 1.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00544/0.7134, allocations: 1.677 MB / 0.6851 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009178/0.7144, allocations: 167.7 kB / 0.6852 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/0.7279, allocations: 7.058 MB / 0.6921 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.7295, allocations: 187.1 kB / 0.6923 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.7296, allocations: 32 kB / 0.6923 GB, free: 8.316 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-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 (76): * Single equations (assignments): 75 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003024/0.7299, allocations: 125 kB / 0.6924 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01185/0.7417, allocations: 4.017 MB / 0.6964 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/0.7422, allocations: 122.5 kB / 0.6965 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.7543, allocations: 4.139 MB / 0.7005 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.7543, allocations: 12 kB / 0.7005 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.7544, allocations: 6.328 kB / 0.7005 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.911e-05/0.7544, allocations: 7.922 kB / 0.7006 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.7683, allocations: 5.638 MB / 0.7061 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.7683, allocations: 0 / 0.7061 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008812/0.7692, allocations: 151.8 kB / 0.7062 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005143/0.7744, allocations: 1.667 MB / 0.7078 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.7746, allocations: 8 kB / 0.7078 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.7867, allocations: 6.183 MB / 0.7139 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.7868, allocations: 0 / 0.7139 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.8003, allocations: 4.886 MB / 0.7186 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005548/0.8009, allocations: 203.4 kB / 0.7188 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.8011, allocations: 5.203 kB / 0.7188 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.8022, allocations: 139.9 kB / 0.719 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007393/0.803, allocations: 216.9 kB / 0.7192 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/0.8031, allocations: 24 kB / 0.7192 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007328/0.8038, allocations: 0.5147 MB / 0.7197 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8038, allocations: 0 / 0.7197 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001363/0.8052, allocations: 395.5 kB / 0.7201 GB, free: 11.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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.01389/0.8191, allocations: 5.479 MB / 0.7254 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005181/0.8243, allocations: 1.95 MB / 0.7273 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8243, allocations: 0.5625 kB / 0.7273 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004163/0.8285, allocations: 1.454 MB / 0.7288 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.8293, allocations: 64.92 kB / 0.7288 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.8326, allocations: 1.642 MB / 0.7304 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000656/0.8333, allocations: 1.122 MB / 0.7315 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003362/0.8336, allocations: 69.56 kB / 0.7316 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/0.8342, allocations: 423.3 kB / 0.732 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of SimCode: time 1.112e-06/0.8342, allocations: 4 kB / 0.732 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05467/0.8889, allocations: 27.24 MB / 0.7586 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.8892, allocations: 141.3 kB / 0.7587 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/4.015, allocations: 0 / 0.7587 GB, free: 4.066 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)