Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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 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_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_release_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.001615/0.001614, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.4 MB / 234.6 MB, free: 14.47 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000871/0.0008713, allocations: 96.94 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4923/0.4923, allocations: 78.08 MB / 414.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.469e-05, allocations: 4 kB / 491.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3285, allocations: 69.33 MB / 0.5481 GB, free: 20.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.4475, allocations: 98.76 MB / 0.6445 GB, free: 1.809 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.4478, allocations: 83.94 kB / 0.6446 GB, free: 1.727 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07152/0.5193, allocations: 25.87 MB / 0.6699 GB, free: 7.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5194, allocations: 0 / 0.6699 GB, free: 7.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001114/0.5195, allocations: 20 kB / 0.6699 GB, free: 7.641 MB / 490.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.005636/0.5251, allocations: 1.787 MB / 0.6716 GB, free: 5.805 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.5252, allocations: 11.97 kB / 0.6717 GB, free: 5.793 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003873/0.5256, allocations: 134.8 kB / 0.6718 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/0.5294, allocations: 0.5602 MB / 0.6723 GB, free: 5.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.5316, allocations: 0.7364 MB / 0.673 GB, free: 4.301 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/0.532, allocations: 272.1 kB / 0.6733 GB, free: 3.996 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.5324, allocations: 83.89 kB / 0.6734 GB, free: 3.914 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.5343, allocations: 0.8704 MB / 0.6742 GB, free: 3.035 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.5343, allocations: 0 / 0.6742 GB, free: 3.035 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.5345, allocations: 36 kB / 0.6743 GB, free: 3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.5345, allocations: 16 kB / 0.6743 GB, free: 2.984 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.5362, allocations: 0.8631 MB / 0.6751 GB, free: 2.125 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3796/0.9158, allocations: 3.55 MB / 0.6786 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.9176, allocations: 1.228 MB / 0.6798 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.9187, allocations: 0.5891 MB / 0.6804 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.9189, allocations: 14.16 kB / 0.6804 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.9189, allocations: 45.44 kB / 0.6804 GB, free: 103.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 4.168e-06/0.919, allocations: 0 / 0.6804 GB, free: 103.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01492/0.9339, allocations: 4.094 MB / 0.6844 GB, free: 103.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.934, allocations: 68.06 kB / 0.6845 GB, free: 103.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.9351, allocations: 0.732 MB / 0.6852 GB, free: 103.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002612/0.9354, allocations: 42.8 kB / 0.6852 GB, free: 103.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.9357, allocations: 0.5062 MB / 0.6857 GB, free: 103.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.9361, allocations: 339.8 kB / 0.6861 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.9362, allocations: 18.03 kB / 0.6861 GB, free: 103.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.9363, allocations: 339.7 kB / 0.6864 GB, free: 103 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007513/0.9371, allocations: 446 kB / 0.6868 GB, free: 103 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.9378, allocations: 0.5412 MB / 0.6874 GB, free: 102.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.9386, allocations: 491.4 kB / 0.6878 GB, free: 102.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.9386, allocations: 2.625 kB / 0.6878 GB, free: 102.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01227/0.9508, allocations: 4.211 MB / 0.6919 GB, free: 102.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.9509, allocations: 7.125 kB / 0.692 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.951, allocations: 3.812 kB / 0.692 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005502/0.9565, allocations: 1.726 MB / 0.6936 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/0.9574, allocations: 167.5 kB / 0.6938 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/0.9709, allocations: 7.257 MB / 0.7009 GB, free: 98.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.9724, allocations: 202.2 kB / 0.7011 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/0.9725, allocations: 33.3 kB / 0.7011 GB, free: 98.25 MB / 490.7 MB 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.0002332/0.9728, allocations: 157.2 kB / 0.7013 GB, free: 98.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.9729, allocations: 117.2 kB / 0.7014 GB, free: 98.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/0.9845, allocations: 4.23 MB / 0.7055 GB, free: 97.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.9845, allocations: 13.94 kB / 0.7055 GB, free: 97.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9845, allocations: 3.875 kB / 0.7055 GB, free: 97.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.108e-05/0.9846, allocations: 10.5 kB / 0.7055 GB, free: 97.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.998, allocations: 5.814 MB / 0.7112 GB, free: 92.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.9981, allocations: 0 / 0.7112 GB, free: 92.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.9989, allocations: 149.9 kB / 0.7114 GB, free: 92.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004835/1.004, allocations: 1.681 MB / 0.713 GB, free: 91.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/1.004, allocations: 23.8 kB / 0.713 GB, free: 91.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/1.015, allocations: 6.309 MB / 0.7192 GB, free: 85.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.015, allocations: 0 / 0.7192 GB, free: 85.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/1.028, allocations: 4.962 MB / 0.724 GB, free: 81.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/1.028, allocations: 210 kB / 0.7242 GB, free: 81.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/1.029, allocations: 16 kB / 0.7242 GB, free: 81.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.03, allocations: 158.5 kB / 0.7244 GB, free: 80.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006863/1.03, allocations: 217.1 kB / 0.7246 GB, free: 80.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/1.03, allocations: 31.94 kB / 0.7246 GB, free: 80.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006225/1.031, allocations: 0.5726 MB / 0.7252 GB, free: 80.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.031, allocations: 3.938 kB / 0.7252 GB, free: 80.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001052/1.032, allocations: 432.1 kB / 0.7256 GB, free: 79.8 MB / 490.7 MB 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.0127/1.045, allocations: 5.557 MB / 0.731 GB, free: 74.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004819/1.05, allocations: 2.025 MB / 0.733 GB, free: 72.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.05, allocations: 0 / 0.733 GB, free: 72.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004029/1.054, allocations: 1.5 MB / 0.7345 GB, free: 71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007686/1.055, allocations: 72.42 kB / 0.7345 GB, free: 70.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/1.058, allocations: 1.712 MB / 0.7362 GB, free: 69.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/1.058, allocations: 1.126 MB / 0.7373 GB, free: 68.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003257/1.059, allocations: 69.09 kB / 0.7374 GB, free: 67.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/1.059, allocations: 419.3 kB / 0.7378 GB, free: 67.57 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/1.059, allocations: 0 / 0.7378 GB, free: 67.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04484/1.104, allocations: 29.11 MB / 0.7662 GB, free: 38.93 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/1.104, allocations: 186.2 kB / 0.7664 GB, free: 38.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/3.952, allocations: 3.938 kB / 0.7664 GB, free: 38.7 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)