Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_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.001283/0.001283, allocations: 175.1 kB / 15.42 MB, free: 6.203 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.345/1.345, allocations: 222.8 MB / 239 MB, free: 1.824 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007575/0.0007575, allocations: 100.4 kB / 289.8 MB, free: 14.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4348/0.4348, allocations: 78.43 MB / 418.9 MB, free: 44.3 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 12 kB / 498.5 MB, free: 3.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3177, allocations: 68.74 MB / 0.554 GB, free: 39.71 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003544/0.3213, allocations: 2.937 MB / 0.5568 GB, free: 39.48 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3225, allocations: 0.9055 MB / 0.5577 GB, free: 39.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3226, allocations: 3.969 kB / 0.5577 GB, free: 39.07 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.3229, allocations: 74.86 kB / 0.5578 GB, free: 39.05 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.3232, allocations: 107.9 kB / 0.5579 GB, free: 38.99 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008619/0.324, allocations: 429.7 kB / 0.5583 GB, free: 38.85 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.3244, allocations: 399.5 kB / 0.5587 GB, free: 38.75 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3245, allocations: 82.06 kB / 0.5588 GB, free: 38.73 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.3247, allocations: 150.1 kB / 0.5589 GB, free: 38.69 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.3249, allocations: 212.9 kB / 0.5591 GB, free: 38.62 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.325, allocations: 19.97 kB / 0.5591 GB, free: 38.62 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.3252, allocations: 67.08 kB / 0.5592 GB, free: 38.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.3252, allocations: 74.27 kB / 0.5593 GB, free: 38.6 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3254, allocations: 170 kB / 0.5594 GB, free: 38.53 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.3258, allocations: 475.6 kB / 0.5599 GB, free: 38.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3258, allocations: 1.969 kB / 0.5599 GB, free: 38.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3259, allocations: 0 / 0.5599 GB, free: 38.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3259, allocations: 0.625 kB / 0.5599 GB, free: 38.41 MB / 426.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.002525/0.3284, allocations: 0.9575 MB / 0.5608 GB, free: 37.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3284, allocations: 11.55 kB / 0.5608 GB, free: 37.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.727e-05/0.3285, allocations: 60.08 kB / 0.5609 GB, free: 37.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.3301, allocations: 260.5 kB / 0.5611 GB, free: 37.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.3305, allocations: 348.1 kB / 0.5615 GB, free: 37.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.827e-05/0.3306, allocations: 84.31 kB / 0.5616 GB, free: 37.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/0.3307, allocations: 24.28 kB / 0.5616 GB, free: 37.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007152/0.3314, allocations: 372.6 kB / 0.5619 GB, free: 37.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3314, allocations: 0 / 0.5619 GB, free: 37.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.3314, allocations: 9.281 kB / 0.5619 GB, free: 37.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.3315, allocations: 5.469 kB / 0.5619 GB, free: 37.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000684/0.3321, allocations: 365.6 kB / 0.5623 GB, free: 37.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.3339, allocations: 1.034 MB / 0.5633 GB, free: 37.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005972/0.3399, allocations: 1.351 MB / 0.5646 GB, free: 37.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.3404, allocations: 259.8 kB / 0.5649 GB, free: 37.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/0.3404, allocations: 3.062 kB / 0.5649 GB, free: 37.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.3405, allocations: 36.12 kB / 0.5649 GB, free: 37.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.415e-06/0.3405, allocations: 4 kB / 0.5649 GB, free: 37.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.006007/0.3465, allocations: 1.98 MB / 0.5668 GB, free: 36.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.3465, allocations: 54.94 kB / 0.5669 GB, free: 36.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.347, allocations: 319.6 kB / 0.5672 GB, free: 36.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.347, allocations: 33.11 kB / 0.5672 GB, free: 36.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3471, allocations: 189.4 kB / 0.5674 GB, free: 36.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.3473, allocations: 102.2 kB / 0.5675 GB, free: 36.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.3473, allocations: 32.73 kB / 0.5675 GB, free: 36.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.3474, allocations: 351.7 kB / 0.5679 GB, free: 35.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.3478, allocations: 215.6 kB / 0.5681 GB, free: 35.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.3482, allocations: 226.7 kB / 0.5683 GB, free: 35.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/0.349, allocations: 466.3 kB / 0.5687 GB, free: 35.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.349, allocations: 4 kB / 0.5687 GB, free: 35.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003607/0.3526, allocations: 1.252 MB / 0.57 GB, free: 35.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3526, allocations: 5.875 kB / 0.57 GB, free: 35.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3527, allocations: 7.922 kB / 0.57 GB, free: 35.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/0.3554, allocations: 0.7627 MB / 0.5707 GB, free: 34.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.3556, allocations: 26.38 kB / 0.5708 GB, free: 34.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/0.36, allocations: 2.878 MB / 0.5736 GB, free: 33.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.3605, allocations: 55.47 kB / 0.5736 GB, free: 33.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.3605, allocations: 12.66 kB / 0.5736 GB, free: 33.01 MB / 426.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 () * Number of clocked 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 (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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.3607, allocations: 147.4 kB / 0.5738 GB, free: 32.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.3607, allocations: 36.19 kB / 0.5738 GB, free: 32.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/0.3641, allocations: 1.213 MB / 0.575 GB, free: 32.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3642, allocations: 2.906 kB / 0.575 GB, free: 32.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3642, allocations: 2.906 kB / 0.575 GB, free: 32.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3642, allocations: 4 kB / 0.575 GB, free: 32.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.3646, allocations: 0.5184 MB / 0.5755 GB, free: 32.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3646, allocations: 0 / 0.5755 GB, free: 32.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.3648, allocations: 30.5 kB / 0.5755 GB, free: 32.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002224/0.3671, allocations: 0.6691 MB / 0.5762 GB, free: 32.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.3671, allocations: 14.78 kB / 0.5762 GB, free: 32.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.3705, allocations: 2.471 MB / 0.5786 GB, free: 30.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3705, allocations: 4 kB / 0.5786 GB, free: 30.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003845/0.3744, allocations: 1.571 MB / 0.5802 GB, free: 29.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.3745, allocations: 119.5 kB / 0.5803 GB, free: 29.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.3746, allocations: 7.938 kB / 0.5803 GB, free: 29.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.375, allocations: 43.28 kB / 0.5803 GB, free: 29.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.3752, allocations: 81.36 kB / 0.5804 GB, free: 29.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.3752, allocations: 9.562 kB / 0.5804 GB, free: 29.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001835/0.3754, allocations: 232.7 kB / 0.5806 GB, free: 29.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3754, allocations: 0 / 0.5806 GB, free: 29.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004549/0.3758, allocations: 132.4 kB / 0.5808 GB, free: 29.39 MB / 426.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 () * Number of clocked 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 (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.003975/0.3798, allocations: 2.128 MB / 0.5828 GB, free: 28.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.3819, allocations: 0.9767 MB / 0.5838 GB, free: 27.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3819, allocations: 4 kB / 0.5838 GB, free: 27.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.3833, allocations: 0.7118 MB / 0.5845 GB, free: 27.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.3837, allocations: 32.38 kB / 0.5845 GB, free: 27.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.3982, allocations: 5.778 MB / 0.5902 GB, free: 24.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.3984, allocations: 0.7891 MB / 0.5909 GB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.883e-05/0.3985, allocations: 21.77 kB / 0.5909 GB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3987, allocations: 111.5 kB / 0.5911 GB, free: 23.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3987, allocations: 0 / 0.5911 GB, free: 23.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.4211, allocations: 10.28 MB / 0.6011 GB, free: 22.16 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/0.4213, allocations: 252.5 kB / 0.6013 GB, free: 21.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/2.553, allocations: 2.25 kB / 0.6013 GB, free: 21.91 MB / 426.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)