Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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_TG,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_release_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.001338/0.001338, allocations: 173.9 kB / 7.648 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.461/1.461, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.000885/0.0008851, allocations: 91.48 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4649/0.4649, allocations: 78.13 MB / 409.4 MB, free: 6.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.461e-05/1.457e-05, allocations: 4 kB / 485.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 69.35 MB / 0.5414 GB, free: 6.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.4992, allocations: 98.94 MB / 0.638 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.4995, allocations: 84.48 kB / 0.6381 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0676/0.5672, allocations: 25.41 MB / 0.6629 GB, free: 7.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5672, allocations: 0 / 0.6629 GB, free: 7.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.378e-05/0.5673, allocations: 21.09 kB / 0.663 GB, free: 7.141 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.004468/0.5717, allocations: 1.722 MB / 0.6646 GB, free: 5.371 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5718, allocations: 8.031 kB / 0.6646 GB, free: 5.363 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.5752, allocations: 0.5493 MB / 0.6652 GB, free: 4.812 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.5768, allocations: 0.767 MB / 0.6659 GB, free: 3.992 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/0.5771, allocations: 244.2 kB / 0.6662 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.5772, allocations: 51.84 kB / 0.6662 GB, free: 3.664 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001444/0.5787, allocations: 0.8205 MB / 0.667 GB, free: 2.844 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.5801, allocations: 0.8407 MB / 0.6678 GB, free: 1.992 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5802, allocations: 0 / 0.6678 GB, free: 1.992 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.54e-05/0.5803, allocations: 5.125 kB / 0.6678 GB, free: 1.988 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.5803, allocations: 16 kB / 0.6679 GB, free: 1.973 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005815/0.5861, allocations: 3.374 MB / 0.6711 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.5875, allocations: 1.203 MB / 0.6723 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007572/0.5883, allocations: 0.5466 MB / 0.6729 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.5884, allocations: 16.77 kB / 0.6729 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.5884, allocations: 43.34 kB / 0.6729 GB, free: 12.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 5.3e-06/0.5884, allocations: 0 / 0.6729 GB, free: 12.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01226/0.6007, allocations: 3.976 MB / 0.6768 GB, free: 8.527 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.6008, allocations: 85.89 kB / 0.6769 GB, free: 8.422 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.6019, allocations: 0.6974 MB / 0.6776 GB, free: 7.707 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.6022, allocations: 29.7 kB / 0.6776 GB, free: 7.672 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.6025, allocations: 489.2 kB / 0.6781 GB, free: 7.188 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.6029, allocations: 307.4 kB / 0.6783 GB, free: 6.883 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.6029, allocations: 4 kB / 0.6783 GB, free: 6.879 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6031, allocations: 341.9 kB / 0.6787 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.6038, allocations: 426.5 kB / 0.6791 GB, free: 6.125 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/0.6045, allocations: 0.5167 MB / 0.6796 GB, free: 5.578 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.6052, allocations: 466.7 kB / 0.68 GB, free: 5.125 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6053, allocations: 0 / 0.68 GB, free: 5.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01248/0.6177, allocations: 4.117 MB / 0.6841 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002974/0.6181, allocations: 0.7966 MB / 0.6848 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.6181, allocations: 4 kB / 0.6848 GB, free: 140 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005747/0.6239, allocations: 1.674 MB / 0.6865 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/0.6247, allocations: 139.8 kB / 0.6866 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.6388, allocations: 7.056 MB / 0.6935 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.6404, allocations: 181.8 kB / 0.6937 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.6405, allocations: 28 kB / 0.6937 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6405, allocations: 4 kB / 0.6937 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01216/0.6527, allocations: 3.972 MB / 0.6976 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.6527, allocations: 0 / 0.6976 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005413/0.6582, allocations: 1.676 MB / 0.6992 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.6589, allocations: 131.8 kB / 0.6993 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/0.6731, allocations: 7.063 MB / 0.7062 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.6746, allocations: 171.3 kB / 0.7064 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/0.6747, allocations: 24 kB / 0.7064 GB, free: 9.77 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.0003079/0.675, allocations: 126.6 kB / 0.7065 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01229/0.6873, allocations: 3.98 MB / 0.7104 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004865/0.6878, allocations: 113.5 kB / 0.7105 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.7005, allocations: 4.091 MB / 0.7145 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.7006, allocations: 8 kB / 0.7145 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.7006, allocations: 0 / 0.7145 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-05/0.7006, allocations: 7.938 kB / 0.7145 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.7153, allocations: 5.616 MB / 0.72 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.7153, allocations: 0 / 0.72 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/0.7161, allocations: 120.6 kB / 0.7201 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00532/0.7215, allocations: 1.667 MB / 0.7218 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/0.7217, allocations: 4 kB / 0.7218 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/0.7348, allocations: 6.168 MB / 0.7278 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.7348, allocations: 7.953 kB / 0.7278 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01812/0.7529, allocations: 4.854 MB / 0.7325 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007218/0.7537, allocations: 203.5 kB / 0.7327 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004589/0.7542, allocations: 2.688 kB / 0.7327 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/0.7566, allocations: 136.9 kB / 0.7329 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001357/0.758, allocations: 200.4 kB / 0.7331 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.7581, allocations: 24 kB / 0.7331 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001554/0.7597, allocations: 0.5333 MB / 0.7336 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.6e-07/0.7597, allocations: 4 kB / 0.7336 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003867/0.7636, allocations: 0.6083 MB / 0.7342 GB, free: 12.98 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.02333/0.787, allocations: 5.438 MB / 0.7395 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01188/0.7989, allocations: 3.421 MB / 0.7429 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.7989, allocations: 0 / 0.7429 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004336/0.8033, allocations: 1.433 MB / 0.7443 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008064/0.8041, allocations: 68.3 kB / 0.7443 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.8081, allocations: 1.752 MB / 0.746 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.8088, allocations: 1.134 MB / 0.7471 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007188/0.8095, allocations: 156.6 kB / 0.7473 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.81, allocations: 413.5 kB / 0.7477 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of SimCode: time 8.62e-07/0.81, allocations: 0 / 0.7477 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3407/1.151, allocations: 35.21 MB / 0.7821 GB, free: 148.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/1.151, allocations: 139.6 kB / 0.7822 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.262/4.413, allocations: 0.8125 kB / 0.7822 GB, free: 148.4 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)