Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.07966/0.07966, allocations: 12.19 MB / 27.15 MB, free: 1.527 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000851/0.0008509, allocations: 98.31 kB / 30.66 MB, free: 4.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 239.5 MB, free: 11.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 177.1 kB / 290.6 MB, free: 15.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5021/0.5021, allocations: 78.5 MB / 420.1 MB, free: 32.64 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001693, allocations: 34.66 kB / 0.4895 GB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4365, allocations: 69.23 MB / 0.5571 GB, free: 37.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.00247/0.439, allocations: 2.519 MB / 0.5596 GB, free: 35.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.4404, allocations: 0.9671 MB / 0.5605 GB, free: 35.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.4405, allocations: 5.25 kB / 0.5605 GB, free: 35.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.4408, allocations: 68.86 kB / 0.5606 GB, free: 35.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.441, allocations: 144 kB / 0.5607 GB, free: 34.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.4418, allocations: 377.6 kB / 0.5611 GB, free: 34.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.4421, allocations: 322.6 kB / 0.5614 GB, free: 34.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.4423, allocations: 79.92 kB / 0.5615 GB, free: 34.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.4425, allocations: 184.5 kB / 0.5616 GB, free: 34.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.4428, allocations: 241.8 kB / 0.5619 GB, free: 34.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.4429, allocations: 23.34 kB / 0.5619 GB, free: 34.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.443, allocations: 62 kB / 0.5619 GB, free: 34.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.4431, allocations: 98.22 kB / 0.562 GB, free: 34.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.4431, allocations: 86.17 kB / 0.5621 GB, free: 34.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.4435, allocations: 403.8 kB / 0.5625 GB, free: 34.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.4435, allocations: 0 / 0.5625 GB, free: 34.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4435, allocations: 0 / 0.5625 GB, free: 34.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4435, allocations: 3.938 kB / 0.5625 GB, free: 34.1 MB / 414.1 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.003079/0.4466, allocations: 1.079 MB / 0.5636 GB, free: 33.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4466, allocations: 16.17 kB / 0.5636 GB, free: 33.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.205e-05/0.4467, allocations: 58.73 kB / 0.5636 GB, free: 33.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.4483, allocations: 266.1 kB / 0.5639 GB, free: 33.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.4488, allocations: 394.7 kB / 0.5643 GB, free: 33.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.449, allocations: 94.09 kB / 0.5643 GB, free: 33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.449, allocations: 25.62 kB / 0.5644 GB, free: 33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007783/0.4498, allocations: 422.8 kB / 0.5648 GB, free: 32.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4498, allocations: 0 / 0.5648 GB, free: 32.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.4499, allocations: 10.53 kB / 0.5648 GB, free: 32.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4499, allocations: 7.75 kB / 0.5648 GB, free: 32.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.4507, allocations: 417.6 kB / 0.5652 GB, free: 32.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.4525, allocations: 1.12 MB / 0.5663 GB, free: 32.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006934/0.4594, allocations: 1.844 MB / 0.5681 GB, free: 31.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.751e-05/0.4595, allocations: 7.219 kB / 0.5681 GB, free: 31.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.4596, allocations: 40.52 kB / 0.5681 GB, free: 31.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.355e-06/0.4596, allocations: 0 / 0.5681 GB, free: 31.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.006405/0.466, allocations: 2.36 MB / 0.5704 GB, free: 31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.4661, allocations: 54.88 kB / 0.5705 GB, free: 30.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.4665, allocations: 397.2 kB / 0.5709 GB, free: 30.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.4666, allocations: 32.08 kB / 0.5709 GB, free: 30.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.4667, allocations: 201.5 kB / 0.5711 GB, free: 30.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.4668, allocations: 126.6 kB / 0.5712 GB, free: 30.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.4668, allocations: 10.72 kB / 0.5712 GB, free: 30.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.4669, allocations: 356.8 kB / 0.5716 GB, free: 30.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.4674, allocations: 248.4 kB / 0.5718 GB, free: 30 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.4679, allocations: 251.7 kB / 0.572 GB, free: 29.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.4684, allocations: 266.3 kB / 0.5723 GB, free: 29.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4684, allocations: 4 kB / 0.5723 GB, free: 29.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004136/0.4725, allocations: 1.522 MB / 0.5738 GB, free: 29.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.4725, allocations: 9.672 kB / 0.5738 GB, free: 29.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4726, allocations: 0 / 0.5738 GB, free: 29.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003186/0.4758, allocations: 0.8932 MB / 0.5747 GB, free: 29.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.476, allocations: 38.38 kB / 0.5747 GB, free: 29.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/0.482, allocations: 3.146 MB / 0.5778 GB, free: 27.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.4827, allocations: 65.19 kB / 0.5778 GB, free: 27.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.4827, allocations: 11.48 kB / 0.5778 GB, free: 27.27 MB / 414.1 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 () * Number of clocked 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.0002233/0.4829, allocations: 149.6 kB / 0.578 GB, free: 27.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.483, allocations: 43.3 kB / 0.578 GB, free: 27.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004383/0.4874, allocations: 1.442 MB / 0.5794 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.4875, allocations: 2.75 kB / 0.5794 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4875, allocations: 2.75 kB / 0.5794 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.4875, allocations: 6.203 kB / 0.5795 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.4882, allocations: 0.5304 MB / 0.58 GB, free: 26.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4882, allocations: 0 / 0.58 GB, free: 26.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.4885, allocations: 34.5 kB / 0.58 GB, free: 26.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002478/0.491, allocations: 0.7561 MB / 0.5807 GB, free: 26.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.491, allocations: 6.188 kB / 0.5807 GB, free: 26.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/0.4952, allocations: 2.613 MB / 0.5833 GB, free: 24.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4952, allocations: 1.344 kB / 0.5833 GB, free: 24.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004781/0.5, allocations: 1.843 MB / 0.5851 GB, free: 23.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.5002, allocations: 121.1 kB / 0.5852 GB, free: 23.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.314e-05/0.5003, allocations: 11.09 kB / 0.5852 GB, free: 23.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.5008, allocations: 46.72 kB / 0.5853 GB, free: 23.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.5011, allocations: 83.52 kB / 0.5853 GB, free: 23.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.5011, allocations: 14.81 kB / 0.5854 GB, free: 23.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000373/0.5015, allocations: 288 kB / 0.5856 GB, free: 23.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5015, allocations: 0 / 0.5856 GB, free: 23.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000613/0.5021, allocations: 144.2 kB / 0.5858 GB, free: 23.55 MB / 414.1 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 () * Number of clocked 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.005502/0.5076, allocations: 2.39 MB / 0.5881 GB, free: 22.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003331/0.511, allocations: 1.173 MB / 0.5893 GB, free: 21.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.511, allocations: 0 / 0.5893 GB, free: 21.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.5129, allocations: 0.8188 MB / 0.5901 GB, free: 21.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.5132, allocations: 30.92 kB / 0.5901 GB, free: 21.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008792/0.522, allocations: 3.909 MB / 0.5939 GB, free: 19.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.5223, allocations: 0.8228 MB / 0.5947 GB, free: 18.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.5225, allocations: 26.97 kB / 0.5947 GB, free: 18.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.5227, allocations: 135.4 kB / 0.5949 GB, free: 18.28 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5227, allocations: 0 / 0.5949 GB, free: 18.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.5437, allocations: 10.85 MB / 0.6055 GB, free: 7.602 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.5439, allocations: 229.7 kB / 0.6057 GB, free: 7.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.515, allocations: 0 / 0.6057 GB, free: 7.363 MB / 414.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: