Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_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.001155/0.001155, allocations: 174.7 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.242/1.242, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0009099/0.0009102, allocations: 93.08 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4547/0.4547, allocations: 78.91 MB / 415.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.345e-05, allocations: 0 / 492.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3161, allocations: 69.5 MB / 0.5492 GB, free: 19.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.4345, allocations: 92.03 MB / 0.6391 GB, free: 7.555 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4348, allocations: 75.95 kB / 0.6392 GB, free: 7.48 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02271/0.4576, allocations: 8.093 MB / 0.6471 GB, free: 15.33 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4576, allocations: 0 / 0.6471 GB, free: 15.33 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.4577, allocations: 12 kB / 0.6471 GB, free: 15.32 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001862/0.4595, allocations: 0.765 MB / 0.6478 GB, free: 14.51 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4596, allocations: 15.97 kB / 0.6478 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.193e-05/0.4597, allocations: 62.53 kB / 0.6479 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009956/0.4607, allocations: 171.4 kB / 0.6481 GB, free: 14.26 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.4612, allocations: 331.9 kB / 0.6484 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.4613, allocations: 87.95 kB / 0.6485 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.4614, allocations: 23.91 kB / 0.6485 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.4619, allocations: 305.2 kB / 0.6488 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.462, allocations: 7.938 kB / 0.6488 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.462, allocations: 12 kB / 0.6488 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.462, allocations: 8 kB / 0.6488 GB, free: 13.44 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/0.4626, allocations: 306.1 kB / 0.6491 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.4645, allocations: 1.03 MB / 0.6501 GB, free: 12.06 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006963/0.4715, allocations: 1.718 MB / 0.6518 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.472, allocations: 204.9 kB / 0.652 GB, free: 10.13 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.033e-05/0.472, allocations: 4 kB / 0.652 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4721, allocations: 38.55 kB / 0.652 GB, free: 10.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/0.4721, allocations: 0 / 0.652 GB, free: 10.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.003713/0.4758, allocations: 1.163 MB / 0.6531 GB, free: 8.898 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.4758, allocations: 59.36 kB / 0.6532 GB, free: 8.828 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.4762, allocations: 282.8 kB / 0.6535 GB, free: 8.543 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.4763, allocations: 29.7 kB / 0.6535 GB, free: 8.508 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4764, allocations: 192.4 kB / 0.6537 GB, free: 8.316 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.4765, allocations: 110.4 kB / 0.6538 GB, free: 8.207 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.4765, allocations: 8 kB / 0.6538 GB, free: 8.199 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4767, allocations: 342.8 kB / 0.6541 GB, free: 7.855 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.477, allocations: 164.5 kB / 0.6543 GB, free: 7.691 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.4772, allocations: 165.1 kB / 0.6544 GB, free: 7.531 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.4775, allocations: 165.4 kB / 0.6546 GB, free: 7.371 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4775, allocations: 3.984 kB / 0.6546 GB, free: 7.367 MB / 474.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003822/0.4814, allocations: 1.262 MB / 0.6558 GB, free: 6.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.4814, allocations: 7.938 kB / 0.6558 GB, free: 6.082 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4814, allocations: 3.938 kB / 0.6558 GB, free: 6.078 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/0.4843, allocations: 0.74 MB / 0.6566 GB, free: 5.328 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.4846, allocations: 31.94 kB / 0.6566 GB, free: 5.297 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004581/0.4892, allocations: 2.672 MB / 0.6592 GB, free: 2.496 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/0.4898, allocations: 67.7 kB / 0.6593 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.4899, allocations: 8 kB / 0.6593 GB, free: 2.422 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 (21): * Single equations (assignments): 18 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.49, allocations: 116.9 kB / 0.6594 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.4901, allocations: 31.62 kB / 0.6594 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/0.4939, allocations: 1.222 MB / 0.6606 GB, free: 1.027 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.4939, allocations: 7.984 kB / 0.6606 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4939, allocations: 4 kB / 0.6606 GB, free: 1.016 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4939, allocations: 4 kB / 0.6606 GB, free: 1.012 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.4946, allocations: 0.5126 MB / 0.6611 GB, free: 460 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4946, allocations: 0 / 0.6611 GB, free: 460 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.4949, allocations: 31.92 kB / 0.6612 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/0.4973, allocations: 0.6504 MB / 0.6618 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/0.4973, allocations: 4 kB / 0.6618 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.5006, allocations: 2.273 MB / 0.664 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5007, allocations: 0 / 0.664 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/0.5048, allocations: 1.524 MB / 0.6655 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.505, allocations: 120.5 kB / 0.6656 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.505, allocations: 11.98 kB / 0.6656 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.5055, allocations: 43.92 kB / 0.6657 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.5057, allocations: 91.83 kB / 0.6658 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.5057, allocations: 16 kB / 0.6658 GB, free: 11.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002592/0.506, allocations: 230.1 kB / 0.666 GB, free: 11.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.506, allocations: 0 / 0.666 GB, free: 11.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006026/0.5066, allocations: 151.8 kB / 0.6661 GB, free: 11.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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.004375/0.511, allocations: 2.087 MB / 0.6682 GB, free: 9.004 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.5133, allocations: 0.9316 MB / 0.6691 GB, free: 8.016 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5133, allocations: 0 / 0.6691 GB, free: 8.016 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.5149, allocations: 0.7129 MB / 0.6698 GB, free: 7.246 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.5152, allocations: 21.22 kB / 0.6698 GB, free: 7.223 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005995/0.5212, allocations: 0.9359 MB / 0.6707 GB, free: 6.254 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.5216, allocations: 0.8109 MB / 0.6715 GB, free: 5.418 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.436e-05/0.5217, allocations: 14.08 kB / 0.6715 GB, free: 5.406 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.5219, allocations: 111.4 kB / 0.6716 GB, free: 5.297 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5219, allocations: 0 / 0.6716 GB, free: 5.297 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2845/0.8064, allocations: 10.16 MB / 0.6816 GB, free: 117.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/0.8066, allocations: 205.7 kB / 0.6818 GB, free: 117.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/3.034, allocations: 0.7188 kB / 0.6818 GB, free: 117.4 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)