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.09261/0.09261, allocations: 12.19 MB / 27.43 MB, free: 1.375 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.001284/0.001283, allocations: 119.4 kB / 30.94 MB, free: 4.652 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.562/1.562, allocations: 205.1 MB / 239.4 MB, free: 10.91 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.001684/0.001684, allocations: 192.2 kB / 289.6 MB, free: 15.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4982/0.4982, allocations: 78.49 MB / 418.1 MB, free: 31.78 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.003226/0.003226, allocations: 132.9 kB / 498.5 MB, free: 424 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.503, allocations: 68.03 MB / 0.5533 GB, free: 37.96 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004119/0.5072, allocations: 3.145 MB / 0.5563 GB, free: 35.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.5088, allocations: 0.9949 MB / 0.5573 GB, free: 34.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.5089, allocations: 9.188 kB / 0.5573 GB, free: 34.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.5092, allocations: 71.62 kB / 0.5574 GB, free: 34.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.5095, allocations: 124.6 kB / 0.5575 GB, free: 34.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008584/0.5104, allocations: 440.9 kB / 0.5579 GB, free: 34.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.5108, allocations: 0.5044 MB / 0.5584 GB, free: 34.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.511, allocations: 94.03 kB / 0.5585 GB, free: 34.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.5113, allocations: 204.4 kB / 0.5587 GB, free: 34.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.5116, allocations: 283.8 kB / 0.559 GB, free: 34.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.5116, allocations: 42.94 kB / 0.559 GB, free: 34.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.5118, allocations: 104.9 kB / 0.5591 GB, free: 34.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.718e-05/0.5119, allocations: 114.9 kB / 0.5592 GB, free: 33.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.5121, allocations: 224.1 kB / 0.5594 GB, free: 33.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.5126, allocations: 0.5626 MB / 0.56 GB, free: 33.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5126, allocations: 0 / 0.56 GB, free: 33.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5126, allocations: 0 / 0.56 GB, free: 33.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.5126, allocations: 2.719 kB / 0.56 GB, free: 33.56 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.003104/0.5157, allocations: 1.114 MB / 0.5611 GB, free: 32.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.5158, allocations: 15.89 kB / 0.5611 GB, free: 32.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.887e-05/0.5159, allocations: 62 kB / 0.5611 GB, free: 32.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.5174, allocations: 265.2 kB / 0.5614 GB, free: 32.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.5178, allocations: 408.4 kB / 0.5618 GB, free: 32.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.5179, allocations: 90.16 kB / 0.5619 GB, free: 32.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.518, allocations: 36.09 kB / 0.5619 GB, free: 32.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.5188, allocations: 394.5 kB / 0.5623 GB, free: 32.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.5188, allocations: 0 / 0.5623 GB, free: 32.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.5188, allocations: 10.38 kB / 0.5623 GB, free: 32.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.5188, allocations: 5.406 kB / 0.5623 GB, free: 32.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.5195, allocations: 392.2 kB / 0.5627 GB, free: 32.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.5214, allocations: 1.095 MB / 0.5637 GB, free: 31.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006395/0.5278, allocations: 1.378 MB / 0.5651 GB, free: 31.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/0.5283, allocations: 279.8 kB / 0.5654 GB, free: 31.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/0.5284, allocations: 18.81 kB / 0.5654 GB, free: 31.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.5284, allocations: 41.12 kB / 0.5654 GB, free: 31.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.354e-06/0.5284, allocations: 0 / 0.5654 GB, free: 31.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.005712/0.5341, allocations: 1.951 MB / 0.5673 GB, free: 30.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.5342, allocations: 61.81 kB / 0.5674 GB, free: 30.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.5346, allocations: 395.5 kB / 0.5678 GB, free: 30.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.5347, allocations: 35.44 kB / 0.5678 GB, free: 30.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5348, allocations: 200 kB / 0.568 GB, free: 29.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.234e-05/0.5349, allocations: 122.9 kB / 0.5681 GB, free: 29.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.535, allocations: 62.72 kB / 0.5682 GB, free: 29.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.5351, allocations: 354.3 kB / 0.5685 GB, free: 29.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.5356, allocations: 230.8 kB / 0.5687 GB, free: 29.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.536, allocations: 234.7 kB / 0.5689 GB, free: 29.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008576/0.5369, allocations: 491 kB / 0.5694 GB, free: 29.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5369, allocations: 4 kB / 0.5694 GB, free: 29.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003689/0.5406, allocations: 1.273 MB / 0.5707 GB, free: 28.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.5406, allocations: 7.25 kB / 0.5707 GB, free: 28.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5406, allocations: 0 / 0.5707 GB, free: 28.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/0.5435, allocations: 0.7731 MB / 0.5714 GB, free: 28.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.5437, allocations: 41.67 kB / 0.5715 GB, free: 28.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/0.5495, allocations: 3.104 MB / 0.5745 GB, free: 26.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.5501, allocations: 50.48 kB / 0.5745 GB, free: 26.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.5501, allocations: 11.89 kB / 0.5745 GB, free: 26.47 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.5504, allocations: 154.2 kB / 0.5747 GB, free: 26.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.821e-05/0.5505, allocations: 42.12 kB / 0.5747 GB, free: 26.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/0.5545, allocations: 1.209 MB / 0.5759 GB, free: 25.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5545, allocations: 2.938 kB / 0.5759 GB, free: 25.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5545, allocations: 10.62 kB / 0.5759 GB, free: 25.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5545, allocations: 1.688 kB / 0.5759 GB, free: 25.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007025/0.5552, allocations: 0.5298 MB / 0.5764 GB, free: 25.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.5552, allocations: 1.25 kB / 0.5764 GB, free: 25.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.5555, allocations: 37.02 kB / 0.5765 GB, free: 25.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/0.5579, allocations: 0.6222 MB / 0.5771 GB, free: 25.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.5579, allocations: 10.44 kB / 0.5771 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004126/0.562, allocations: 2.548 MB / 0.5796 GB, free: 23.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5621, allocations: 0.5156 kB / 0.5796 GB, free: 23.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004334/0.5664, allocations: 1.582 MB / 0.5811 GB, free: 23.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.5665, allocations: 133.4 kB / 0.5813 GB, free: 22.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.5666, allocations: 17.39 kB / 0.5813 GB, free: 22.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.5671, allocations: 35.75 kB / 0.5813 GB, free: 22.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/0.5674, allocations: 87.3 kB / 0.5814 GB, free: 22.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.5674, allocations: 11 kB / 0.5814 GB, free: 22.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003559/0.5678, allocations: 290.2 kB / 0.5817 GB, free: 22.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5678, allocations: 0 / 0.5817 GB, free: 22.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006548/0.5684, allocations: 140.2 kB / 0.5818 GB, free: 22.71 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004875/0.5733, allocations: 2.13 MB / 0.5839 GB, free: 21.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003062/0.5764, allocations: 1.094 MB / 0.585 GB, free: 21.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5764, allocations: 1.125 kB / 0.585 GB, free: 21.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.5782, allocations: 0.7286 MB / 0.5857 GB, free: 20.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.5786, allocations: 36.17 kB / 0.5857 GB, free: 20.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.5917, allocations: 5.858 MB / 0.5914 GB, free: 17.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.5921, allocations: 0.8184 MB / 0.5922 GB, free: 16.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.5923, allocations: 26.62 kB / 0.5923 GB, free: 16.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.5926, allocations: 136.9 kB / 0.5924 GB, free: 16.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5926, allocations: 5.188 kB / 0.5924 GB, free: 16.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.625, allocations: 11.6 MB / 0.6037 GB, free: 6.48 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.6252, allocations: 254.7 kB / 0.604 GB, free: 6.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.918, allocations: 6.906 kB / 0.604 GB, free: 6.219 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/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)