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.001006/0.001006, allocations: 174.5 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.266/1.266, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.000899/0.0008992, allocations: 97.34 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4656/0.4656, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.691e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3088, allocations: 69.35 MB / 0.5481 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.4188, allocations: 92.01 MB / 0.6379 GB, free: 8.309 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.419, allocations: 79.95 kB / 0.638 GB, free: 8.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02385/0.4429, allocations: 9.1 MB / 0.6469 GB, free: 15.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4429, allocations: 7.938 kB / 0.6469 GB, free: 15.06 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.4429, allocations: 8 kB / 0.6469 GB, free: 15.05 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001915/0.4448, allocations: 0.8106 MB / 0.6477 GB, free: 14.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.4449, allocations: 11.97 kB / 0.6477 GB, free: 14.19 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.571e-05/0.445, allocations: 66.55 kB / 0.6478 GB, free: 14.11 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.446, allocations: 183.2 kB / 0.6479 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006513/0.4467, allocations: 379.7 kB / 0.6483 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.4469, allocations: 79.97 kB / 0.6484 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.4469, allocations: 32 kB / 0.6484 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.4477, allocations: 341.2 kB / 0.6487 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4477, allocations: 0 / 0.6487 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.4477, allocations: 12 kB / 0.6487 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.4477, allocations: 4 kB / 0.6487 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.4484, allocations: 330.2 kB / 0.6491 GB, free: 12.72 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.4506, allocations: 1.134 MB / 0.6502 GB, free: 11.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006818/0.4574, allocations: 1.728 MB / 0.6518 GB, free: 9.789 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/0.4578, allocations: 217.5 kB / 0.6521 GB, free: 9.574 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/0.4579, allocations: 4 kB / 0.6521 GB, free: 9.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.4579, allocations: 42.42 kB / 0.6521 GB, free: 9.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/0.4579, allocations: 0 / 0.6521 GB, free: 9.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.003284/0.4612, allocations: 1.167 MB / 0.6532 GB, free: 8.336 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.4613, allocations: 55.41 kB / 0.6533 GB, free: 8.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.4617, allocations: 347.6 kB / 0.6536 GB, free: 7.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.4617, allocations: 29.7 kB / 0.6537 GB, free: 7.895 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.4619, allocations: 208.5 kB / 0.6538 GB, free: 7.688 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/0.462, allocations: 126.1 kB / 0.654 GB, free: 7.562 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.462, allocations: 8 kB / 0.654 GB, free: 7.555 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4621, allocations: 358.8 kB / 0.6543 GB, free: 7.195 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.4624, allocations: 172.7 kB / 0.6545 GB, free: 7.023 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.4627, allocations: 173.2 kB / 0.6546 GB, free: 6.855 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.463, allocations: 190.2 kB / 0.6548 GB, free: 6.672 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.463, allocations: 0 / 0.6548 GB, free: 6.672 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003477/0.4665, allocations: 1.288 MB / 0.6561 GB, free: 5.367 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4665, allocations: 4 kB / 0.6561 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4665, allocations: 0 / 0.6561 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/0.469, allocations: 0.7362 MB / 0.6568 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.4693, allocations: 43.92 kB / 0.6569 GB, free: 4.574 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/0.4734, allocations: 2.656 MB / 0.6594 GB, free: 1.793 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.4739, allocations: 63.66 kB / 0.6595 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.474, allocations: 12 kB / 0.6595 GB, free: 1.719 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.0001149/0.4741, allocations: 116.9 kB / 0.6596 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.214e-05/0.4742, allocations: 43.52 kB / 0.6597 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/0.4774, allocations: 1.215 MB / 0.6609 GB, free: 324 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4774, allocations: 4 kB / 0.6609 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4775, allocations: 0 / 0.6609 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4775, allocations: 7.984 kB / 0.6609 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.478, allocations: 0.5245 MB / 0.6614 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.478, allocations: 11.89 kB / 0.6614 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.4783, allocations: 35.92 kB / 0.6614 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/0.4802, allocations: 0.6035 MB / 0.662 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.4802, allocations: 12 kB / 0.662 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002729/0.4829, allocations: 2.141 MB / 0.6641 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.483, allocations: 4 kB / 0.6641 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.4865, allocations: 1.539 MB / 0.6656 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.4867, allocations: 132.5 kB / 0.6658 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.4867, allocations: 4 kB / 0.6658 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.4872, allocations: 47.97 kB / 0.6658 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.4874, allocations: 91.78 kB / 0.6659 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.4875, allocations: 8 kB / 0.6659 GB, free: 10.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003097/0.4878, allocations: 282.1 kB / 0.6662 GB, free: 10.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4878, allocations: 4 kB / 0.6662 GB, free: 10.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004938/0.4883, allocations: 151.8 kB / 0.6663 GB, free: 10.49 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.003987/0.4923, allocations: 2.115 MB / 0.6684 GB, free: 8.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.4947, allocations: 1.018 MB / 0.6694 GB, free: 7.266 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4948, allocations: 0 / 0.6694 GB, free: 7.266 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.4963, allocations: 0.7249 MB / 0.6701 GB, free: 6.484 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.4967, allocations: 25.34 kB / 0.6701 GB, free: 6.457 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.4982, allocations: 0.7369 MB / 0.6708 GB, free: 5.684 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.4986, allocations: 0.8266 MB / 0.6716 GB, free: 4.828 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.4987, allocations: 26.97 kB / 0.6717 GB, free: 4.801 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.4989, allocations: 131.4 kB / 0.6718 GB, free: 4.672 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4989, allocations: 0 / 0.6718 GB, free: 4.672 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2873/0.7862, allocations: 10.88 MB / 0.6824 GB, free: 117 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/0.7864, allocations: 204.3 kB / 0.6826 GB, free: 116.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.827, allocations: 0 / 0.6826 GB, free: 116.8 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)