Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.001283/0.001283, allocations: 173.2 kB / 7.647 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.378/1.378, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008518/0.000852, allocations: 95.05 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5145/0.5145, allocations: 78.95 MB / 410.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.972e-05, allocations: 0 / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1681, allocations: 69.52 MB / 0.5425 GB, free: 5.801 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.6213, allocations: 97.29 MB / 0.6375 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.6216, allocations: 79.95 kB / 0.6376 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06647/0.6881, allocations: 23.78 MB / 0.6608 GB, free: 8.867 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.6882, allocations: 0 / 0.6608 GB, free: 8.867 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.047e-05/0.6883, allocations: 20 kB / 0.6609 GB, free: 8.848 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.005365/0.6936, allocations: 1.605 MB / 0.6624 GB, free: 7.199 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.6937, allocations: 8.594 kB / 0.6624 GB, free: 7.191 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/0.6973, allocations: 0.5332 MB / 0.663 GB, free: 6.656 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.6993, allocations: 0.6874 MB / 0.6636 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/0.6997, allocations: 232.2 kB / 0.6638 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/0.6999, allocations: 43.91 kB / 0.6639 GB, free: 5.621 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001815/0.7018, allocations: 0.7421 MB / 0.6646 GB, free: 4.879 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.7036, allocations: 0.6992 MB / 0.6653 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.7036, allocations: 3.953 kB / 0.6653 GB, free: 4.172 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-05/0.7037, allocations: 0 / 0.6653 GB, free: 4.172 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.7037, allocations: 16 kB / 0.6653 GB, free: 4.156 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007134/0.7109, allocations: 3.14 MB / 0.6684 GB, free: 0.875 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.7124, allocations: 1.109 MB / 0.6695 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008219/0.7132, allocations: 0.5159 MB / 0.67 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.7134, allocations: 13.42 kB / 0.67 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.7134, allocations: 47.34 kB / 0.67 GB, free: 15.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 3.146e-06/0.7134, allocations: 0 / 0.67 GB, free: 15.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01255/0.726, allocations: 3.904 MB / 0.6738 GB, free: 11.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.7261, allocations: 60.19 kB / 0.6739 GB, free: 11.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.7273, allocations: 0.6026 MB / 0.6745 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001933/0.7276, allocations: 29.69 kB / 0.6745 GB, free: 10.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.7279, allocations: 441.2 kB / 0.6749 GB, free: 9.996 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/0.7284, allocations: 287.7 kB / 0.6752 GB, free: 9.711 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.735e-05/0.7285, allocations: 3.938 kB / 0.6752 GB, free: 9.707 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.7287, allocations: 334 kB / 0.6755 GB, free: 9.375 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.7294, allocations: 397.5 kB / 0.6759 GB, free: 8.988 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008148/0.7303, allocations: 491.6 kB / 0.6764 GB, free: 8.477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008228/0.7311, allocations: 429.2 kB / 0.6768 GB, free: 8.062 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.7311, allocations: 3.953 kB / 0.6768 GB, free: 8.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01285/0.744, allocations: 4.051 MB / 0.6807 GB, free: 3.988 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.7441, allocations: 8.75 kB / 0.6808 GB, free: 3.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.7441, allocations: 4 kB / 0.6808 GB, free: 3.977 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005782/0.7499, allocations: 1.673 MB / 0.6824 GB, free: 2.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.7505, allocations: 115.8 kB / 0.6825 GB, free: 2.188 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.7658, allocations: 7.062 MB / 0.6894 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.7673, allocations: 155.3 kB / 0.6895 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.7675, allocations: 29.02 kB / 0.6896 GB, free: 10.82 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 (62): * Single equations (assignments): 61 * 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.000396/0.7679, allocations: 121.8 kB / 0.6897 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01218/0.7801, allocations: 3.922 MB / 0.6935 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005863/0.7807, allocations: 102.7 kB / 0.6936 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/0.7937, allocations: 4.004 MB / 0.6975 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.7938, allocations: 11.95 kB / 0.6975 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7938, allocations: 0 / 0.6975 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.959e-05/0.7938, allocations: 3.984 kB / 0.6975 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.8093, allocations: 5.44 MB / 0.7029 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.8094, allocations: 0 / 0.7029 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/0.8101, allocations: 95.89 kB / 0.703 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005572/0.8157, allocations: 1.675 MB / 0.7046 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/0.8159, allocations: 3.953 kB / 0.7046 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/0.8293, allocations: 6.185 MB / 0.7106 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.8293, allocations: 3.984 kB / 0.7106 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/0.8427, allocations: 4.698 MB / 0.7152 GB, free: 252 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.8432, allocations: 187.7 kB / 0.7154 GB, free: 44 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/0.8436, allocations: 3.938 kB / 0.7154 GB, free: 40 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.8449, allocations: 115.9 kB / 0.7155 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006747/0.8456, allocations: 196.4 kB / 0.7157 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.8457, allocations: 31.94 kB / 0.7157 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007638/0.8465, allocations: 475.1 kB / 0.7162 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8465, allocations: 0 / 0.7162 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001641/0.8481, allocations: 363.5 kB / 0.7165 GB, free: 14.89 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 (50): * Single equations (assignments): 49 * 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.01414/0.8623, allocations: 5.274 MB / 0.7217 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005631/0.868, allocations: 1.859 MB / 0.7235 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.868, allocations: 0 / 0.7235 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004396/0.8724, allocations: 1.396 MB / 0.7249 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.8734, allocations: 57 kB / 0.7249 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.877, allocations: 1.406 MB / 0.7263 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.8777, allocations: 1.056 MB / 0.7273 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003075/0.8781, allocations: 57.16 kB / 0.7274 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.8786, allocations: 367.3 kB / 0.7277 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.954e-06/0.8786, allocations: 0 / 0.7277 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06165/0.9402, allocations: 25.12 MB / 0.7523 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/0.9406, allocations: 126.2 kB / 0.7524 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/3.678, allocations: 0 / 0.7524 GB, free: 10.24 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)