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.001236/0.001236, allocations: 172.5 kB / 7.646 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.422/1.422, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.001002/0.001002, allocations: 88.44 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4877/0.4877, allocations: 78.07 MB / 409.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.889e-05/1.891e-05, allocations: 7.938 kB / 485 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1462, allocations: 69.37 MB / 0.5414 GB, free: 6.73 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.6021, allocations: 98.94 MB / 0.638 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.6024, allocations: 85.33 kB / 0.6381 GB, free: 484 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06525/0.6676, allocations: 25.41 MB / 0.6629 GB, free: 7.102 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6677, allocations: 0 / 0.6629 GB, free: 7.102 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.929e-05/0.6677, allocations: 24 kB / 0.6629 GB, free: 7.078 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004378/0.6721, allocations: 1.719 MB / 0.6646 GB, free: 5.312 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6722, allocations: 12.03 kB / 0.6646 GB, free: 5.301 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.6754, allocations: 0.5487 MB / 0.6651 GB, free: 4.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.677, allocations: 0.7631 MB / 0.6659 GB, free: 3.934 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.6773, allocations: 240.2 kB / 0.6661 GB, free: 3.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.6774, allocations: 47.91 kB / 0.6662 GB, free: 3.613 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001461/0.6789, allocations: 0.8243 MB / 0.667 GB, free: 2.789 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.6803, allocations: 0.8446 MB / 0.6678 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.6803, allocations: 0 / 0.6678 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/0.6804, allocations: 0 / 0.6678 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.6804, allocations: 20 kB / 0.6678 GB, free: 1.914 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005879/0.6863, allocations: 3.374 MB / 0.6711 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.6877, allocations: 1.2 MB / 0.6723 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/0.6884, allocations: 0.5514 MB / 0.6728 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.6885, allocations: 16.77 kB / 0.6728 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.6886, allocations: 47.34 kB / 0.6729 GB, free: 12.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.505e-06/0.6886, allocations: 3.938 kB / 0.6729 GB, free: 12.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.012/0.7006, allocations: 3.968 MB / 0.6768 GB, free: 8.469 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.7007, allocations: 89.89 kB / 0.6768 GB, free: 8.359 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.7018, allocations: 0.6935 MB / 0.6775 GB, free: 7.648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000184/0.702, allocations: 29.69 kB / 0.6775 GB, free: 7.613 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.7024, allocations: 492.6 kB / 0.678 GB, free: 7.125 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.7027, allocations: 307.4 kB / 0.6783 GB, free: 6.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.7028, allocations: 1.406 kB / 0.6783 GB, free: 6.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7029, allocations: 342 kB / 0.6786 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007042/0.7036, allocations: 426.5 kB / 0.679 GB, free: 6.066 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007249/0.7043, allocations: 0.5193 MB / 0.6796 GB, free: 5.516 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00072/0.705, allocations: 462.7 kB / 0.68 GB, free: 5.066 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.7051, allocations: 4 kB / 0.68 GB, free: 5.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01215/0.7172, allocations: 4.109 MB / 0.684 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003371/0.7176, allocations: 0.8049 MB / 0.6848 GB, free: 80 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.7176, allocations: 4 kB / 0.6848 GB, free: 76 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00566/0.7233, allocations: 1.67 MB / 0.6864 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007715/0.7241, allocations: 139.2 kB / 0.6866 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.7391, allocations: 7.06 MB / 0.6935 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.7408, allocations: 179.2 kB / 0.6936 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.741, allocations: 27.98 kB / 0.6937 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7411, allocations: 4.656 kB / 0.6937 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01224/0.7533, allocations: 3.973 MB / 0.6975 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.7534, allocations: 4 kB / 0.6975 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005609/0.759, allocations: 1.671 MB / 0.6992 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/0.7598, allocations: 131.8 kB / 0.6993 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/0.7746, allocations: 7.065 MB / 0.7062 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.7766, allocations: 163.3 kB / 0.7064 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.7769, allocations: 27.97 kB / 0.7064 GB, free: 9.711 MB / 0.5105 GB 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.0005867/0.7775, allocations: 137.8 kB / 0.7065 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01264/0.7902, allocations: 3.972 MB / 0.7104 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005976/0.7908, allocations: 114.6 kB / 0.7105 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.8031, allocations: 4.087 MB / 0.7145 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.8032, allocations: 12 kB / 0.7145 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.8032, allocations: 0 / 0.7145 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/0.8032, allocations: 7.938 kB / 0.7145 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.8179, allocations: 5.62 MB / 0.72 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.818, allocations: 1.5 kB / 0.72 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007348/0.8187, allocations: 115.8 kB / 0.7201 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005458/0.8242, allocations: 1.663 MB / 0.7217 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/0.8244, allocations: 7.984 kB / 0.7217 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.8372, allocations: 6.169 MB / 0.7278 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.8372, allocations: 3.953 kB / 0.7278 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/0.8509, allocations: 4.854 MB / 0.7325 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006125/0.8516, allocations: 203.5 kB / 0.7327 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004767/0.8521, allocations: 7.984 kB / 0.7327 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.8536, allocations: 131.9 kB / 0.7328 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007443/0.8544, allocations: 204.4 kB / 0.733 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.8546, allocations: 26.62 kB / 0.7331 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001008/0.8556, allocations: 0.5333 MB / 0.7336 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8556, allocations: 0 / 0.7336 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002599/0.8582, allocations: 0.6083 MB / 0.7342 GB, free: 12.92 MB / 0.5417 GB 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.01452/0.8727, allocations: 5.441 MB / 0.7395 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01066/0.8834, allocations: 3.416 MB / 0.7428 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8835, allocations: 0 / 0.7428 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004547/0.8881, allocations: 1.431 MB / 0.7442 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.8892, allocations: 68.3 kB / 0.7443 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004481/0.8937, allocations: 1.756 MB / 0.746 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007278/0.8945, allocations: 1.13 MB / 0.7471 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007287/0.8952, allocations: 163.5 kB / 0.7473 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.8958, allocations: 411.3 kB / 0.7477 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of SimCode: time 1.403e-06/0.8958, allocations: 0 / 0.7477 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4327/1.328, allocations: 35.21 MB / 0.782 GB, free: 146.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/1.329, allocations: 127.2 kB / 0.7822 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/4.776, allocations: 2.188 kB / 0.7822 GB, free: 146.2 MB / 0.5573 GB (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)