Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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.001009/0.001009, allocations: 180.2 kB / 7.65 MB, free: 1.414 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.314/1.314, allocations: 221.5 MB / 229.6 MB, free: 3.176 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.001035/0.001035, allocations: 95.33 kB / 280.5 MB, free: 1.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4949/0.4949, allocations: 78.07 MB / 409.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.077e-05, allocations: 4 kB / 485 MB, free: 3.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4263, allocations: 69.36 MB / 0.5414 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.5579, allocations: 91.34 MB / 0.6306 GB, free: 13.25 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.5582, allocations: 83.95 kB / 0.6307 GB, free: 13.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02424/0.5824, allocations: 8.976 MB / 0.6394 GB, free: 4.133 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5824, allocations: 0 / 0.6394 GB, free: 4.133 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.5825, allocations: 8 kB / 0.6394 GB, free: 4.125 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.001964/0.5845, allocations: 0.8105 MB / 0.6402 GB, free: 3.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.5845, allocations: 12.03 kB / 0.6402 GB, free: 3.258 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.5856, allocations: 191.3 kB / 0.6404 GB, free: 3.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.5861, allocations: 367.7 kB / 0.6408 GB, free: 2.676 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5862, allocations: 79.95 kB / 0.6408 GB, free: 2.582 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.5863, allocations: 24 kB / 0.6409 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005654/0.5869, allocations: 321 kB / 0.6412 GB, free: 2.246 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.5874, allocations: 300.1 kB / 0.6415 GB, free: 1.945 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.5875, allocations: 3.953 kB / 0.6415 GB, free: 1.941 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.5875, allocations: 0 / 0.6415 GB, free: 1.941 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.5875, allocations: 4 kB / 0.6415 GB, free: 1.938 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.5895, allocations: 1.064 MB / 0.6425 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007066/0.5966, allocations: 1.72 MB / 0.6442 GB, free: 15.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.597, allocations: 204.8 kB / 0.6444 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.704e-05/0.5971, allocations: 4.594 kB / 0.6444 GB, free: 14.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.5971, allocations: 46.55 kB / 0.6444 GB, free: 14.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 3.827e-06/0.5972, allocations: 0 / 0.6444 GB, free: 14.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.003419/0.6006, allocations: 1.143 MB / 0.6455 GB, free: 13.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.6006, allocations: 55.41 kB / 0.6456 GB, free: 13.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.6011, allocations: 342.4 kB / 0.6459 GB, free: 13.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.6012, allocations: 25.7 kB / 0.6459 GB, free: 13.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.6014, allocations: 204.9 kB / 0.6461 GB, free: 13.03 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.6015, allocations: 118.2 kB / 0.6463 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.6015, allocations: 0 / 0.6463 GB, free: 12.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6017, allocations: 354.8 kB / 0.6466 GB, free: 12.56 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.602, allocations: 160.7 kB / 0.6467 GB, free: 12.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.6022, allocations: 169 kB / 0.6469 GB, free: 12.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.6025, allocations: 174.2 kB / 0.6471 GB, free: 12.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6025, allocations: 4 kB / 0.6471 GB, free: 12.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003543/0.6061, allocations: 1.261 MB / 0.6483 GB, free: 10.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.6061, allocations: 8 kB / 0.6483 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.6061, allocations: 0 / 0.6483 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/0.6087, allocations: 0.7206 MB / 0.649 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.609, allocations: 39.92 kB / 0.6491 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004269/0.6133, allocations: 2.563 MB / 0.6516 GB, free: 7.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.6138, allocations: 63.64 kB / 0.6516 GB, free: 7.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.6139, allocations: 12 kB / 0.6516 GB, free: 7.262 MB / 474.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.0001477/0.614, allocations: 104.9 kB / 0.6517 GB, free: 7.152 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003206/0.6172, allocations: 1.143 MB / 0.6528 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/0.6173, allocations: 43.48 kB / 0.6529 GB, free: 5.949 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/0.6206, allocations: 1.18 MB / 0.654 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.6206, allocations: 11.98 kB / 0.6541 GB, free: 4.738 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6206, allocations: 3.938 kB / 0.6541 GB, free: 4.734 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6207, allocations: 0 / 0.6541 GB, free: 4.734 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.6212, allocations: 0.4897 MB / 0.6545 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6212, allocations: 3.938 kB / 0.6545 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.6215, allocations: 43.92 kB / 0.6546 GB, free: 4.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001901/0.6234, allocations: 0.584 MB / 0.6551 GB, free: 3.566 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.6235, allocations: 8 kB / 0.6552 GB, free: 3.559 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.6263, allocations: 2.067 MB / 0.6572 GB, free: 1.375 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6263, allocations: 7.922 kB / 0.6572 GB, free: 1.367 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/0.63, allocations: 1.512 MB / 0.6587 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.6301, allocations: 128.6 kB / 0.6588 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.6302, allocations: 0 / 0.6588 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.6307, allocations: 43.92 kB / 0.6588 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.6309, allocations: 91.83 kB / 0.6589 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.6309, allocations: 4 kB / 0.6589 GB, free: 15.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003021/0.6312, allocations: 268.6 kB / 0.6592 GB, free: 15.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6312, allocations: 0 / 0.6592 GB, free: 15.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005443/0.6318, allocations: 140 kB / 0.6593 GB, free: 15.15 MB / 490.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.003966/0.6358, allocations: 2.073 MB / 0.6613 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.6382, allocations: 0.9931 MB / 0.6623 GB, free: 11.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6383, allocations: 0 / 0.6623 GB, free: 11.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.6399, allocations: 0.7083 MB / 0.663 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.6403, allocations: 18.91 kB / 0.663 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.6419, allocations: 0.7182 MB / 0.6637 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.6423, allocations: 0.815 MB / 0.6645 GB, free: 9.609 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.6424, allocations: 27.28 kB / 0.6645 GB, free: 9.586 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.6426, allocations: 131.4 kB / 0.6647 GB, free: 9.461 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6426, allocations: 0 / 0.6647 GB, free: 9.461 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3477/0.9903, allocations: 9.851 MB / 0.6743 GB, free: 118.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.9906, allocations: 155.2 kB / 0.6744 GB, free: 117.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/3.142, allocations: 0.9375 kB / 0.6744 GB, free: 117.9 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)