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.07964/0.07964, allocations: 12.21 MB / 27.33 MB, free: 1.441 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.0009818/0.0009818, allocations: 119.4 kB / 30.84 MB, free: 4.711 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.236/1.236, allocations: 205.1 MB / 239.3 MB, free: 10.94 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.001415/0.001415, allocations: 192.5 kB / 289.5 MB, free: 15.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4172/0.4172, allocations: 78.51 MB / 418 MB, free: 31.8 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.002756/0.002756, allocations: 136.8 kB / 498.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3435, allocations: 68.03 MB / 0.5531 GB, free: 37.62 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003346/0.3469, allocations: 3.149 MB / 0.5561 GB, free: 35.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3482, allocations: 1.01 MB / 0.5571 GB, free: 34.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.3483, allocations: 4.625 kB / 0.5571 GB, free: 34.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.3486, allocations: 66.38 kB / 0.5572 GB, free: 34.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.3488, allocations: 127.4 kB / 0.5573 GB, free: 34.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.3496, allocations: 437.8 kB / 0.5577 GB, free: 34.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.3499, allocations: 489.1 kB / 0.5582 GB, free: 34.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3501, allocations: 91.69 kB / 0.5583 GB, free: 33.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3502, allocations: 187.6 kB / 0.5585 GB, free: 33.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.3505, allocations: 273.4 kB / 0.5587 GB, free: 33.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.3506, allocations: 25.06 kB / 0.5588 GB, free: 33.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.3507, allocations: 81.36 kB / 0.5588 GB, free: 33.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.3508, allocations: 92.39 kB / 0.5589 GB, free: 33.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.3509, allocations: 214.8 kB / 0.5591 GB, free: 33.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.3513, allocations: 0.5414 MB / 0.5597 GB, free: 33.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3513, allocations: 0 / 0.5597 GB, free: 33.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.3513, allocations: 3.938 kB / 0.5597 GB, free: 33.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.3513, allocations: 0 / 0.5597 GB, free: 33.3 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.002957/0.3543, allocations: 1.118 MB / 0.5608 GB, free: 32.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3544, allocations: 20.58 kB / 0.5608 GB, free: 32.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.3544, allocations: 62.2 kB / 0.5608 GB, free: 32.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.3559, allocations: 270.9 kB / 0.5611 GB, free: 32.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.3563, allocations: 397.7 kB / 0.5615 GB, free: 32.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/0.3564, allocations: 91.84 kB / 0.5616 GB, free: 32.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.3564, allocations: 25.53 kB / 0.5616 GB, free: 32.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.3571, allocations: 402.5 kB / 0.562 GB, free: 31.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3571, allocations: 0 / 0.562 GB, free: 31.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.3572, allocations: 8 kB / 0.562 GB, free: 31.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3572, allocations: 8.312 kB / 0.562 GB, free: 31.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.3579, allocations: 388.1 kB / 0.5624 GB, free: 31.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.3595, allocations: 1.104 MB / 0.5634 GB, free: 31.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00594/0.3654, allocations: 1.376 MB / 0.5648 GB, free: 31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.3659, allocations: 279.4 kB / 0.565 GB, free: 30.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/0.366, allocations: 6.938 kB / 0.565 GB, free: 30.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.366, allocations: 38.5 kB / 0.5651 GB, free: 30.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 1.373e-06/0.366, allocations: 6.406 kB / 0.5651 GB, free: 30.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.005338/0.3713, allocations: 1.953 MB / 0.567 GB, free: 30.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.3714, allocations: 58.19 kB / 0.5671 GB, free: 30.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.3717, allocations: 403.6 kB / 0.5674 GB, free: 29.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.3717, allocations: 29.7 kB / 0.5675 GB, free: 29.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.664e-05/0.3719, allocations: 201 kB / 0.5677 GB, free: 29.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.293e-05/0.3719, allocations: 127 kB / 0.5678 GB, free: 29.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3721, allocations: 55.5 kB / 0.5678 GB, free: 29.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.641e-05/0.3721, allocations: 352 kB / 0.5682 GB, free: 29.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.3726, allocations: 228.7 kB / 0.5684 GB, free: 29.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.373, allocations: 229.3 kB / 0.5686 GB, free: 29.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008166/0.3738, allocations: 496.8 kB / 0.5691 GB, free: 28.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3738, allocations: 2.656 kB / 0.5691 GB, free: 28.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003447/0.3772, allocations: 1.279 MB / 0.5703 GB, free: 28.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3773, allocations: 9.438 kB / 0.5703 GB, free: 28.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3773, allocations: 0 / 0.5703 GB, free: 28.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002626/0.3799, allocations: 0.7679 MB / 0.5711 GB, free: 28.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.3801, allocations: 36.7 kB / 0.5711 GB, free: 28.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/0.3849, allocations: 2.85 MB / 0.5739 GB, free: 26.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.3853, allocations: 52.23 kB / 0.574 GB, free: 26.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.3854, allocations: 16.33 kB / 0.574 GB, free: 26.39 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.0001562/0.3855, allocations: 150.2 kB / 0.5741 GB, free: 26.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/0.3856, allocations: 39.33 kB / 0.5742 GB, free: 26.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.3892, allocations: 1.208 MB / 0.5753 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3893, allocations: 3.406 kB / 0.5753 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3893, allocations: 2.906 kB / 0.5753 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3893, allocations: 2.016 kB / 0.5753 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.3899, allocations: 0.5367 MB / 0.5759 GB, free: 25.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3899, allocations: 0 / 0.5759 GB, free: 25.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.3901, allocations: 43.2 kB / 0.5759 GB, free: 25.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/0.3923, allocations: 0.6203 MB / 0.5765 GB, free: 25.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.3923, allocations: 7.703 kB / 0.5765 GB, free: 25.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003458/0.3958, allocations: 2.354 MB / 0.5788 GB, free: 23.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3958, allocations: 4.547 kB / 0.5788 GB, free: 23.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/0.3999, allocations: 1.586 MB / 0.5804 GB, free: 23.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.4, allocations: 126.4 kB / 0.5805 GB, free: 22.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.4001, allocations: 5.828 kB / 0.5805 GB, free: 22.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.4005, allocations: 35.62 kB / 0.5805 GB, free: 22.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.4007, allocations: 82.36 kB / 0.5806 GB, free: 22.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.4008, allocations: 11.58 kB / 0.5806 GB, free: 22.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002946/0.4011, allocations: 294 kB / 0.5809 GB, free: 22.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.41e-07/0.4011, allocations: 0 / 0.5809 GB, free: 22.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004959/0.4016, allocations: 148.9 kB / 0.581 GB, free: 22.78 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.004308/0.4059, allocations: 2.127 MB / 0.5831 GB, free: 21.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002608/0.4085, allocations: 1.07 MB / 0.5842 GB, free: 21.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4085, allocations: 0 / 0.5842 GB, free: 21.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.4101, allocations: 0.7255 MB / 0.5849 GB, free: 20.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.4105, allocations: 34.14 kB / 0.5849 GB, free: 20.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.4218, allocations: 5.868 MB / 0.5906 GB, free: 17.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.4221, allocations: 0.8128 MB / 0.5914 GB, free: 16.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.4222, allocations: 30.97 kB / 0.5915 GB, free: 16.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.4224, allocations: 142.1 kB / 0.5916 GB, free: 16.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4224, allocations: 0 / 0.5916 GB, free: 16.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.527/1.949, allocations: 11.1 MB / 0.6024 GB, free: 7.648 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/1.949, allocations: 257.1 kB / 0.6027 GB, free: 7.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/4.639, allocations: 0 / 0.6027 GB, free: 7.391 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)