Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json 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 4.0.0+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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 238.9 MB, free: 4.754 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 184.5 kB / 289.1 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5435/0.5435, allocations: 91.89 MB / 431.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 79.83 kB / 0.5013 GB, free: 8.035 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3633, allocations: 71.25 MB / 0.5709 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003248/0.3666, allocations: 3.156 MB / 0.574 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3679, allocations: 0.9623 MB / 0.5749 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.368, allocations: 6 kB / 0.5749 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.3683, allocations: 73.12 kB / 0.575 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.3685, allocations: 133.9 kB / 0.5751 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.3693, allocations: 439.2 kB / 0.5755 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.3696, allocations: 486.9 kB / 0.576 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.3698, allocations: 79.28 kB / 0.5761 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.37, allocations: 190.7 kB / 0.5763 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.3702, allocations: 273 kB / 0.5765 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.3703, allocations: 25.5 kB / 0.5766 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.3704, allocations: 77.69 kB / 0.5766 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.3705, allocations: 95.19 kB / 0.5767 GB, free: 33.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.3706, allocations: 208.9 kB / 0.5769 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.371, allocations: 0.546 MB / 0.5774 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3711, allocations: 1.688 kB / 0.5775 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3711, allocations: 0 / 0.5775 GB, free: 33.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3711, allocations: 0 / 0.5775 GB, free: 33.52 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.003046/0.3741, allocations: 1.114 MB / 0.5785 GB, free: 32.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3742, allocations: 8.188 kB / 0.5785 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.657e-05/0.3743, allocations: 68.83 kB / 0.5786 GB, free: 32.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.3758, allocations: 271.8 kB / 0.5789 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.3762, allocations: 402.2 kB / 0.5793 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.655e-05/0.3763, allocations: 95.48 kB / 0.5793 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.3764, allocations: 33.67 kB / 0.5794 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.3771, allocations: 399.8 kB / 0.5798 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3772, allocations: 0 / 0.5798 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.3772, allocations: 10.75 kB / 0.5798 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3772, allocations: 5.531 kB / 0.5798 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006917/0.3779, allocations: 386 kB / 0.5801 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.3797, allocations: 1.103 MB / 0.5812 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00616/0.3858, allocations: 1.38 MB / 0.5826 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.3864, allocations: 279.6 kB / 0.5828 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.41e-05/0.3865, allocations: 7.562 kB / 0.5828 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3865, allocations: 36.44 kB / 0.5829 GB, free: 31.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.946e-06/0.3865, allocations: 0 / 0.5829 GB, free: 31.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006045/0.3926, allocations: 1.959 MB / 0.5848 GB, free: 30.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.3926, allocations: 58.38 kB / 0.5848 GB, free: 30.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.3933, allocations: 395.1 kB / 0.5852 GB, free: 30.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.3933, allocations: 34.98 kB / 0.5853 GB, free: 30.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.3935, allocations: 205 kB / 0.5855 GB, free: 29.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.3936, allocations: 122.9 kB / 0.5856 GB, free: 29.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.3938, allocations: 58.3 kB / 0.5856 GB, free: 29.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3939, allocations: 352.1 kB / 0.586 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.3944, allocations: 227.2 kB / 0.5862 GB, free: 29.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.3949, allocations: 238.7 kB / 0.5864 GB, free: 29.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009529/0.3958, allocations: 493.8 kB / 0.5869 GB, free: 29.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3958, allocations: 4 kB / 0.5869 GB, free: 29.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003897/0.3997, allocations: 1.278 MB / 0.5881 GB, free: 28.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3998, allocations: 7.938 kB / 0.5881 GB, free: 28.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3998, allocations: 0 / 0.5881 GB, free: 28.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/0.4028, allocations: 0.7622 MB / 0.5889 GB, free: 28.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.403, allocations: 43.44 kB / 0.5889 GB, free: 28.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00551/0.4085, allocations: 2.855 MB / 0.5917 GB, free: 26.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.409, allocations: 57.09 kB / 0.5918 GB, free: 26.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.4091, allocations: 11.28 kB / 0.5918 GB, free: 26.64 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.0002302/0.4093, allocations: 156.7 kB / 0.5919 GB, free: 26.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.4094, allocations: 41.69 kB / 0.592 GB, free: 26.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.4133, allocations: 1.217 MB / 0.5932 GB, free: 26.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4133, allocations: 3.125 kB / 0.5932 GB, free: 26.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.4134, allocations: 2.25 kB / 0.5932 GB, free: 26.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4134, allocations: 3.172 kB / 0.5932 GB, free: 26.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000777/0.4141, allocations: 0.5291 MB / 0.5937 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.4142, allocations: 5.156 kB / 0.5937 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.4145, allocations: 38.36 kB / 0.5937 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002357/0.4168, allocations: 0.6153 MB / 0.5943 GB, free: 25.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.4169, allocations: 10.83 kB / 0.5943 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004169/0.4211, allocations: 2.347 MB / 0.5966 GB, free: 23.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4211, allocations: 4.828 kB / 0.5966 GB, free: 23.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004868/0.426, allocations: 1.581 MB / 0.5982 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.4262, allocations: 125.8 kB / 0.5983 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4264, allocations: 5.953 kB / 0.5983 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.4269, allocations: 32.12 kB / 0.5983 GB, free: 23.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003664/0.4273, allocations: 86.7 kB / 0.5984 GB, free: 23.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.4274, allocations: 13.47 kB / 0.5984 GB, free: 23.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005296/0.4279, allocations: 292.2 kB / 0.5987 GB, free: 23.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.4279, allocations: 0 / 0.5987 GB, free: 23.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007941/0.4287, allocations: 143.9 kB / 0.5988 GB, free: 23.03 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.004873/0.4336, allocations: 2.148 MB / 0.6009 GB, free: 21.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.4365, allocations: 1.063 MB / 0.602 GB, free: 21.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4365, allocations: 0 / 0.602 GB, free: 21.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.4382, allocations: 0.7293 MB / 0.6027 GB, free: 20.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.4386, allocations: 37.69 kB / 0.6027 GB, free: 20.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.4516, allocations: 5.843 MB / 0.6084 GB, free: 17.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4521, allocations: 0.8085 MB / 0.6092 GB, free: 17.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000181/0.4523, allocations: 31.73 kB / 0.6092 GB, free: 17.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.4525, allocations: 133 kB / 0.6094 GB, free: 17.13 MB / 430.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4525, allocations: 0 / 0.6094 GB, free: 17.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.4824, allocations: 11.11 MB / 0.6202 GB, free: 11.68 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.4827, allocations: 257.6 kB / 0.6205 GB, free: 11.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/2.561, allocations: 4 kB / 0.6205 GB, free: 11.42 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)