Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",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.001383/0.001382, allocations: 180.9 kB / 7.65 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.437/1.437, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.000937/0.000937, allocations: 91 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.469/0.469, allocations: 78.13 MB / 409.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.719e-05, allocations: 3.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1382, allocations: 69.37 MB / 0.5414 GB, free: 6.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.38/0.5182, allocations: 91.33 MB / 0.6306 GB, free: 8.242 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.5186, allocations: 76.84 kB / 0.6307 GB, free: 8.168 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03029/0.5489, allocations: 8.979 MB / 0.6395 GB, free: 15.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.549, allocations: 0 / 0.6395 GB, free: 15.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.273e-05/0.549, allocations: 12 kB / 0.6395 GB, free: 15.29 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002567/0.5516, allocations: 0.8133 MB / 0.6403 GB, free: 14.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.5517, allocations: 12.03 kB / 0.6403 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.5529, allocations: 179.3 kB / 0.6404 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.5535, allocations: 371.7 kB / 0.6408 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.5536, allocations: 79.95 kB / 0.6409 GB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.5537, allocations: 16 kB / 0.6409 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006047/0.5543, allocations: 322.6 kB / 0.6412 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.5548, allocations: 300.1 kB / 0.6415 GB, free: 13.13 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.5549, allocations: 11.94 kB / 0.6415 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.5549, allocations: 0 / 0.6415 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.5549, allocations: 4 kB / 0.6415 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.5577, allocations: 1.061 MB / 0.6425 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0095/0.5672, allocations: 1.712 MB / 0.6442 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.5679, allocations: 208.9 kB / 0.6444 GB, free: 10.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.449e-05/0.568, allocations: 11.97 kB / 0.6444 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.5681, allocations: 42.5 kB / 0.6445 GB, free: 10.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 4.308e-06/0.5681, allocations: 0 / 0.6445 GB, free: 10.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.004813/0.5729, allocations: 1.137 MB / 0.6456 GB, free: 8.867 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.573, allocations: 59.41 kB / 0.6456 GB, free: 8.797 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006851/0.5737, allocations: 334.4 kB / 0.6459 GB, free: 8.465 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/0.5737, allocations: 25.7 kB / 0.646 GB, free: 8.434 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.5739, allocations: 209.5 kB / 0.6462 GB, free: 8.223 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.5741, allocations: 118.1 kB / 0.6463 GB, free: 8.105 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.5742, allocations: 4 kB / 0.6463 GB, free: 8.102 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5743, allocations: 346.8 kB / 0.6466 GB, free: 7.754 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.5748, allocations: 164.7 kB / 0.6468 GB, free: 7.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.5752, allocations: 173 kB / 0.6469 GB, free: 7.422 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.5756, allocations: 174.2 kB / 0.6471 GB, free: 7.254 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.5756, allocations: 0 / 0.6471 GB, free: 7.254 MB / 458.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004878/0.5805, allocations: 1.265 MB / 0.6483 GB, free: 5.973 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.827e-05/0.5806, allocations: 4 kB / 0.6483 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5806, allocations: 0 / 0.6483 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/0.5833, allocations: 0.7253 MB / 0.6491 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.5836, allocations: 45.22 kB / 0.6491 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004318/0.5879, allocations: 2.563 MB / 0.6516 GB, free: 2.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.5885, allocations: 65.08 kB / 0.6517 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.5885, allocations: 12 kB / 0.6517 GB, free: 2.449 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.5887, allocations: 113.7 kB / 0.6518 GB, free: 2.332 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003166/0.5919, allocations: 1.132 MB / 0.6529 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.592, allocations: 43.48 kB / 0.6529 GB, free: 1.141 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.5955, allocations: 1.184 MB / 0.6541 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.5955, allocations: 4 kB / 0.6541 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5955, allocations: 0 / 0.6541 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.5955, allocations: 0 / 0.6541 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.5963, allocations: 0.4895 MB / 0.6546 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5963, allocations: 0 / 0.6546 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.5966, allocations: 43.92 kB / 0.6546 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/0.5986, allocations: 0.5928 MB / 0.6552 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.5986, allocations: 4 kB / 0.6552 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/0.6016, allocations: 2.078 MB / 0.6572 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6016, allocations: 0 / 0.6572 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.6053, allocations: 1.507 MB / 0.6587 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.6056, allocations: 128.6 kB / 0.6588 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.6057, allocations: 0 / 0.6588 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.6062, allocations: 47.91 kB / 0.6589 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.6064, allocations: 87.84 kB / 0.6589 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.6064, allocations: 4 kB / 0.6589 GB, free: 10.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003215/0.6068, allocations: 268.6 kB / 0.6592 GB, free: 10.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6068, allocations: 0 / 0.6592 GB, free: 10.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005662/0.6073, allocations: 136 kB / 0.6593 GB, free: 10.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004207/0.6115, allocations: 2.086 MB / 0.6614 GB, free: 8.238 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002434/0.614, allocations: 0.9854 MB / 0.6623 GB, free: 7.199 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.614, allocations: 0 / 0.6623 GB, free: 7.199 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.6156, allocations: 0.7083 MB / 0.663 GB, free: 6.438 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.616, allocations: 24.06 kB / 0.663 GB, free: 6.418 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.6177, allocations: 0.7184 MB / 0.6637 GB, free: 5.668 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.6181, allocations: 0.815 MB / 0.6645 GB, free: 4.828 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.6182, allocations: 27.28 kB / 0.6646 GB, free: 4.805 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.6184, allocations: 135.3 kB / 0.6647 GB, free: 4.672 MB / 474.7 MB Notification: Performance of SimCode: time 8.21e-07/0.6184, allocations: 0 / 0.6647 GB, free: 4.672 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.6496, allocations: 9.865 MB / 0.6743 GB, free: 10.93 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.6499, allocations: 157.1 kB / 0.6745 GB, free: 10.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.826, allocations: 10.72 kB / 0.6745 GB, free: 10.73 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)