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.08851/0.08851, allocations: 12.2 MB / 27.47 MB, free: 0.9297 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.0008509/0.0008512, allocations: 95.52 kB / 31 MB, free: 4.535 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.322/1.322, allocations: 205.4 MB / 239.8 MB, free: 11.45 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.001126/0.001126, allocations: 175.8 kB / 291 MB, free: 13.29 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4725/0.4725, allocations: 78.54 MB / 420.5 MB, free: 48.61 MB / 334.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.000856/0.000856, allocations: 28 kB / 0.4902 GB, free: 2.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3407, allocations: 69.22 MB / 0.5578 GB, free: 43.4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.002878/0.3437, allocations: 2.756 MB / 0.5605 GB, free: 43.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3451, allocations: 0.9923 MB / 0.5615 GB, free: 42.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.3452, allocations: 4.062 kB / 0.5615 GB, free: 42.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.3455, allocations: 73.7 kB / 0.5615 GB, free: 42.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.3458, allocations: 135.5 kB / 0.5617 GB, free: 42.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.3466, allocations: 436.9 kB / 0.5621 GB, free: 42.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005163/0.3472, allocations: 488.5 kB / 0.5625 GB, free: 42.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.3474, allocations: 80.52 kB / 0.5626 GB, free: 42.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.3476, allocations: 186.1 kB / 0.5628 GB, free: 42.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.3479, allocations: 260.2 kB / 0.563 GB, free: 42.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.348, allocations: 23.47 kB / 0.5631 GB, free: 42.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.3482, allocations: 73.78 kB / 0.5631 GB, free: 42.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.3483, allocations: 94.58 kB / 0.5632 GB, free: 42.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.3484, allocations: 227 kB / 0.5634 GB, free: 42.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005784/0.349, allocations: 0.534 MB / 0.564 GB, free: 41.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.349, allocations: 0 / 0.564 GB, free: 41.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3491, allocations: 1 kB / 0.564 GB, free: 41.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3491, allocations: 0 / 0.564 GB, free: 41.82 MB / 430.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.002986/0.3521, allocations: 1.068 MB / 0.565 GB, free: 41.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3521, allocations: 16.61 kB / 0.565 GB, free: 41.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.748e-05/0.3522, allocations: 66.61 kB / 0.5651 GB, free: 41.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.3538, allocations: 270.5 kB / 0.5653 GB, free: 41.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.3542, allocations: 403.8 kB / 0.5657 GB, free: 40.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.3543, allocations: 92.61 kB / 0.5658 GB, free: 40.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.3544, allocations: 27.98 kB / 0.5658 GB, free: 40.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000805/0.3552, allocations: 429.9 kB / 0.5663 GB, free: 40.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3552, allocations: 3.938 kB / 0.5663 GB, free: 40.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.3553, allocations: 10.75 kB / 0.5663 GB, free: 40.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3553, allocations: 10.38 kB / 0.5663 GB, free: 40.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/0.3561, allocations: 414.8 kB / 0.5667 GB, free: 40.4 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.3579, allocations: 1.12 MB / 0.5678 GB, free: 39.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006904/0.3648, allocations: 1.845 MB / 0.5696 GB, free: 39.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.3653, allocations: 306 kB / 0.5699 GB, free: 39.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.3654, allocations: 6.781 kB / 0.5699 GB, free: 39.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3654, allocations: 45.44 kB / 0.5699 GB, free: 39.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.3654, allocations: 0 / 0.5699 GB, free: 39.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006281/0.3717, allocations: 2.366 MB / 0.5722 GB, free: 38.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3718, allocations: 58.16 kB / 0.5723 GB, free: 38.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.3723, allocations: 397.2 kB / 0.5727 GB, free: 38.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.3723, allocations: 30.98 kB / 0.5727 GB, free: 38.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3724, allocations: 208.5 kB / 0.5729 GB, free: 38.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.055e-05/0.3725, allocations: 123.2 kB / 0.573 GB, free: 38.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.3726, allocations: 38.94 kB / 0.573 GB, free: 37.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.3726, allocations: 348.5 kB / 0.5734 GB, free: 37.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.3732, allocations: 252.3 kB / 0.5736 GB, free: 37.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.3736, allocations: 255.5 kB / 0.5739 GB, free: 37.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009522/0.3746, allocations: 0.5425 MB / 0.5744 GB, free: 37.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3746, allocations: 0 / 0.5744 GB, free: 37.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003971/0.3786, allocations: 1.511 MB / 0.5759 GB, free: 36.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3786, allocations: 5.75 kB / 0.5759 GB, free: 36.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3786, allocations: 0 / 0.5759 GB, free: 36.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002863/0.3815, allocations: 0.893 MB / 0.5767 GB, free: 36.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.3817, allocations: 39.58 kB / 0.5768 GB, free: 36.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004945/0.3866, allocations: 3.046 MB / 0.5798 GB, free: 34.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.3871, allocations: 64.58 kB / 0.5798 GB, free: 34.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.3872, allocations: 9.906 kB / 0.5798 GB, free: 34.78 MB / 430.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.0001951/0.3874, allocations: 144.6 kB / 0.58 GB, free: 34.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.3875, allocations: 46.61 kB / 0.58 GB, free: 34.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.3912, allocations: 1.447 MB / 0.5814 GB, free: 34.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3913, allocations: 5.25 kB / 0.5814 GB, free: 34.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3913, allocations: 6.625 kB / 0.5814 GB, free: 34.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3913, allocations: 0 / 0.5814 GB, free: 34.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.3918, allocations: 0.543 MB / 0.582 GB, free: 33.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3918, allocations: 0 / 0.582 GB, free: 33.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.392, allocations: 38.42 kB / 0.582 GB, free: 33.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002215/0.3942, allocations: 0.7551 MB / 0.5827 GB, free: 33.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.3943, allocations: 9.391 kB / 0.5827 GB, free: 33.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003619/0.3979, allocations: 2.524 MB / 0.5852 GB, free: 32.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3979, allocations: 3.938 kB / 0.5852 GB, free: 32.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004206/0.4021, allocations: 1.851 MB / 0.587 GB, free: 31.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4023, allocations: 126.9 kB / 0.5871 GB, free: 31.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.4023, allocations: 4 kB / 0.5871 GB, free: 31.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.4028, allocations: 47.12 kB / 0.5872 GB, free: 31.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.403, allocations: 81.69 kB / 0.5873 GB, free: 31.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.403, allocations: 13.06 kB / 0.5873 GB, free: 31.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003031/0.4034, allocations: 289.1 kB / 0.5876 GB, free: 31.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4034, allocations: 0 / 0.5876 GB, free: 31.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005328/0.4039, allocations: 141.4 kB / 0.5877 GB, free: 31.09 MB / 430.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.004652/0.4086, allocations: 2.397 MB / 0.59 GB, free: 29.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002884/0.4115, allocations: 1.188 MB / 0.5912 GB, free: 29.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4115, allocations: 1.344 kB / 0.5912 GB, free: 29.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.4132, allocations: 0.8098 MB / 0.592 GB, free: 28.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.4137, allocations: 32.36 kB / 0.592 GB, free: 28.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.4265, allocations: 6.44 MB / 0.5983 GB, free: 25.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.4268, allocations: 0.8079 MB / 0.5991 GB, free: 25.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.427, allocations: 32.16 kB / 0.5991 GB, free: 25.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.4272, allocations: 131.7 kB / 0.5993 GB, free: 25.04 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4272, allocations: 1.125 kB / 0.5993 GB, free: 25.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.4553, allocations: 10.92 MB / 0.6099 GB, free: 22.05 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.4555, allocations: 248.5 kB / 0.6101 GB, free: 21.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.364, allocations: 5.734 kB / 0.6102 GB, free: 21.8 MB / 430.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)