Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",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.001186/0.001186, allocations: 174.7 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.253/1.253, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0009838/0.0009836, allocations: 91.97 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4459/0.4459, allocations: 78.03 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.868e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3169, allocations: 69.35 MB / 0.548 GB, free: 20.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4397, allocations: 99.61 MB / 0.6453 GB, free: 0.793 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.44, allocations: 83.95 kB / 0.6454 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06792/0.5079, allocations: 25.75 MB / 0.6705 GB, free: 6.785 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5079, allocations: 0 / 0.6705 GB, free: 6.785 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.557e-05/0.508, allocations: 20 kB / 0.6706 GB, free: 6.766 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004765/0.5128, allocations: 1.719 MB / 0.6722 GB, free: 5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.5128, allocations: 11.97 kB / 0.6723 GB, free: 4.988 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002245/0.5131, allocations: 138.5 kB / 0.6724 GB, free: 4.844 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/0.5164, allocations: 0.5526 MB / 0.6729 GB, free: 4.289 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.5182, allocations: 0.7631 MB / 0.6737 GB, free: 3.469 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.5185, allocations: 272.5 kB / 0.6739 GB, free: 3.168 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.5187, allocations: 79.86 kB / 0.674 GB, free: 3.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.5205, allocations: 0.9384 MB / 0.6749 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.5205, allocations: 4 kB / 0.6749 GB, free: 2.133 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/0.5206, allocations: 32 kB / 0.675 GB, free: 2.102 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.5206, allocations: 23.94 kB / 0.675 GB, free: 2.078 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.5222, allocations: 0.8514 MB / 0.6758 GB, free: 1.227 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3503/0.8726, allocations: 3.494 MB / 0.6792 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.8743, allocations: 1.243 MB / 0.6804 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.8755, allocations: 0.5715 MB / 0.681 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.8756, allocations: 16.22 kB / 0.681 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.8757, allocations: 45 kB / 0.6811 GB, free: 103 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 5.019e-06/0.8757, allocations: 0 / 0.6811 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.0145/0.8902, allocations: 4.048 MB / 0.685 GB, free: 102.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.8903, allocations: 86.58 kB / 0.6851 GB, free: 102.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.8916, allocations: 0.7595 MB / 0.6858 GB, free: 102.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002566/0.8918, allocations: 41.58 kB / 0.6859 GB, free: 102.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.8922, allocations: 494.5 kB / 0.6863 GB, free: 102.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/0.8926, allocations: 317.7 kB / 0.6866 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.8926, allocations: 17.03 kB / 0.6867 GB, free: 102.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.8927, allocations: 337.4 kB / 0.687 GB, free: 102 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006741/0.8934, allocations: 442.3 kB / 0.6874 GB, free: 102 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.8941, allocations: 0.5402 MB / 0.6879 GB, free: 101.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007143/0.8948, allocations: 482.8 kB / 0.6884 GB, free: 101.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8949, allocations: 0 / 0.6884 GB, free: 101.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01157/0.9064, allocations: 4.196 MB / 0.6925 GB, free: 101.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.9067, allocations: 0.7973 MB / 0.6933 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9067, allocations: 3.562 kB / 0.6933 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005437/0.9121, allocations: 1.715 MB / 0.6949 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.9129, allocations: 137.9 kB / 0.6951 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/0.9264, allocations: 7.257 MB / 0.7022 GB, free: 96.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.928, allocations: 197.9 kB / 0.7024 GB, free: 96.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.9281, allocations: 28.44 kB / 0.7024 GB, free: 96.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.9282, allocations: 7.578 kB / 0.7024 GB, free: 96.34 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01141/0.9396, allocations: 4.064 MB / 0.7064 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.9396, allocations: 10.95 kB / 0.7064 GB, free: 95.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005252/0.9449, allocations: 1.715 MB / 0.708 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.9456, allocations: 130.6 kB / 0.7082 GB, free: 94.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/0.9593, allocations: 7.254 MB / 0.7153 GB, free: 87.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.9608, allocations: 185.3 kB / 0.7154 GB, free: 87.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.9611, allocations: 36 kB / 0.7155 GB, free: 87.49 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0003484/0.9614, allocations: 149.4 kB / 0.7156 GB, free: 87.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.9618, allocations: 118.5 kB / 0.7157 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.9735, allocations: 4.17 MB / 0.7198 GB, free: 83.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.9736, allocations: 8 kB / 0.7198 GB, free: 83.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.9736, allocations: 14.81 kB / 0.7198 GB, free: 83.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/0.9736, allocations: 10.56 kB / 0.7198 GB, free: 83.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/0.9878, allocations: 5.781 MB / 0.7255 GB, free: 79.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.9878, allocations: 0 / 0.7255 GB, free: 79.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007031/0.9885, allocations: 118.3 kB / 0.7256 GB, free: 79.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005076/0.9936, allocations: 1.677 MB / 0.7272 GB, free: 77.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002273/0.9939, allocations: 23.94 kB / 0.7272 GB, free: 77.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/1.007, allocations: 6.31 MB / 0.7334 GB, free: 71.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.007, allocations: 3.938 kB / 0.7334 GB, free: 71.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/1.02, allocations: 4.927 MB / 0.7382 GB, free: 66.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/1.021, allocations: 207.5 kB / 0.7384 GB, free: 66.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004252/1.021, allocations: 16 kB / 0.7384 GB, free: 66.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.023, allocations: 151.9 kB / 0.7386 GB, free: 66.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006991/1.023, allocations: 208.3 kB / 0.7388 GB, free: 65.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.024, allocations: 23.98 kB / 0.7388 GB, free: 65.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009058/1.024, allocations: 0.593 MB / 0.7394 GB, free: 65.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.024, allocations: 0 / 0.7394 GB, free: 65.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002493/1.027, allocations: 0.6732 MB / 0.74 GB, free: 64.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * 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.01333/1.04, allocations: 5.519 MB / 0.7454 GB, free: 59.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00948/1.05, allocations: 3.54 MB / 0.7489 GB, free: 55.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.05, allocations: 0 / 0.7489 GB, free: 55.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004045/1.054, allocations: 1.483 MB / 0.7503 GB, free: 53.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009914/1.055, allocations: 85.11 kB / 0.7504 GB, free: 53.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/1.059, allocations: 1.815 MB / 0.7522 GB, free: 52.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/1.06, allocations: 1.13 MB / 0.7533 GB, free: 50.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000769/1.06, allocations: 163.4 kB / 0.7534 GB, free: 50.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/1.061, allocations: 415.3 kB / 0.7538 GB, free: 50.32 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/1.061, allocations: 0 / 0.7538 GB, free: 50.32 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06373/1.125, allocations: 37.8 MB / 0.7908 GB, free: 12.98 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.125, allocations: 172.4 kB / 0.7909 GB, free: 12.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.182, allocations: 4 kB / 0.7909 GB, free: 12.75 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)