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.00726/0.00726, allocations: 167.5 kB / 15.13 MB, free: 6.02 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.369/1.369, allocations: 223.3 MB / 239.1 MB, free: 4 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008324/0.0008324, allocations: 95.05 kB / 290.3 MB, free: 4.605 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4676/0.4676, allocations: 78.62 MB / 420 MB, free: 36.62 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 8 kB / 500 MB, free: 7.117 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 69.36 MB / 0.556 GB, free: 1.695 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.002642/0.1312, allocations: 2.44 MB / 0.5584 GB, free: 15.23 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1328, allocations: 0.8497 MB / 0.5592 GB, free: 14.38 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.133, allocations: 4 kB / 0.5592 GB, free: 14.38 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.1333, allocations: 67.58 kB / 0.5593 GB, free: 14.31 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.1336, allocations: 107.2 kB / 0.5594 GB, free: 14.2 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008744/0.1345, allocations: 370.6 kB / 0.5597 GB, free: 13.84 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.1349, allocations: 382.4 kB / 0.5601 GB, free: 13.47 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1351, allocations: 73.28 kB / 0.5602 GB, free: 13.39 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1352, allocations: 147.3 kB / 0.5603 GB, free: 13.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.1355, allocations: 199.1 kB / 0.5605 GB, free: 13.05 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.1356, allocations: 20 kB / 0.5605 GB, free: 13.03 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1357, allocations: 71.97 kB / 0.5606 GB, free: 12.96 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.1358, allocations: 63.67 kB / 0.5606 GB, free: 12.9 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.1359, allocations: 89.45 kB / 0.5607 GB, free: 12.8 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.1362, allocations: 367.2 kB / 0.5611 GB, free: 12.45 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1362, allocations: 0 / 0.5611 GB, free: 12.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1362, allocations: 0 / 0.5611 GB, free: 12.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1362, allocations: 0 / 0.5611 GB, free: 12.45 MB / 442.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.002837/0.1391, allocations: 0.9743 MB / 0.562 GB, free: 11.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1391, allocations: 8.031 kB / 0.562 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.121e-05/0.1392, allocations: 62.53 kB / 0.5621 GB, free: 11.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.1408, allocations: 271.1 kB / 0.5624 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.1412, allocations: 342.8 kB / 0.5627 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.1413, allocations: 79.97 kB / 0.5628 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.1414, allocations: 24 kB / 0.5628 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007987/0.1422, allocations: 396.7 kB / 0.5632 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1422, allocations: 3.953 kB / 0.5632 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.1422, allocations: 15.98 kB / 0.5632 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1423, allocations: 4 kB / 0.5632 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007826/0.143, allocations: 386 kB / 0.5636 GB, free: 9.789 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.145, allocations: 1.049 MB / 0.5646 GB, free: 8.688 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007335/0.1523, allocations: 1.829 MB / 0.5664 GB, free: 6.848 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.153, allocations: 288.7 kB / 0.5666 GB, free: 6.562 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.626e-05/0.1531, allocations: 8 kB / 0.5666 GB, free: 6.555 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1531, allocations: 34.56 kB / 0.5667 GB, free: 6.512 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 2.585e-06/0.1531, allocations: 0 / 0.5667 GB, free: 6.512 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.007274/0.1604, allocations: 2.386 MB / 0.569 GB, free: 4.055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.1605, allocations: 67.3 kB / 0.5691 GB, free: 3.977 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.1609, allocations: 320.5 kB / 0.5694 GB, free: 3.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.1609, allocations: 33.7 kB / 0.5694 GB, free: 3.621 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1611, allocations: 180.7 kB / 0.5696 GB, free: 3.441 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.1612, allocations: 110.4 kB / 0.5697 GB, free: 3.332 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1612, allocations: 8 kB / 0.5697 GB, free: 3.324 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1613, allocations: 338.8 kB / 0.57 GB, free: 2.984 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.1618, allocations: 248.4 kB / 0.5703 GB, free: 2.738 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.1624, allocations: 253 kB / 0.5705 GB, free: 2.492 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005063/0.1629, allocations: 245.3 kB / 0.5707 GB, free: 2.254 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1629, allocations: 0 / 0.5707 GB, free: 2.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004511/0.1674, allocations: 1.503 MB / 0.5722 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.1675, allocations: 4 kB / 0.5722 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.1675, allocations: 0 / 0.5722 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2348/0.4023, allocations: 0.8766 MB / 0.5731 GB, free: 44.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.4026, allocations: 31.44 kB / 0.5731 GB, free: 44.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/0.4083, allocations: 3.051 MB / 0.5761 GB, free: 43.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.4089, allocations: 60.8 kB / 0.5761 GB, free: 43.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.4089, allocations: 9.812 kB / 0.5761 GB, free: 43.55 MB / 442.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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.4091, allocations: 143.2 kB / 0.5763 GB, free: 43.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.4092, allocations: 43.14 kB / 0.5763 GB, free: 43.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/0.4136, allocations: 1.444 MB / 0.5777 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.4136, allocations: 6.828 kB / 0.5777 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4136, allocations: 8.297 kB / 0.5777 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4136, allocations: 0 / 0.5777 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.4142, allocations: 0.5147 MB / 0.5782 GB, free: 43.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4142, allocations: 0 / 0.5782 GB, free: 43.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.4144, allocations: 37.53 kB / 0.5783 GB, free: 43.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002697/0.4171, allocations: 0.8003 MB / 0.5791 GB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.4172, allocations: 5.5 kB / 0.5791 GB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004084/0.4213, allocations: 2.64 MB / 0.5816 GB, free: 41.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4213, allocations: 3.953 kB / 0.5816 GB, free: 41.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00477/0.4261, allocations: 1.84 MB / 0.5834 GB, free: 41.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.4263, allocations: 115.5 kB / 0.5836 GB, free: 41.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.4264, allocations: 6.062 kB / 0.5836 GB, free: 41.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.4269, allocations: 46 kB / 0.5836 GB, free: 41.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.4272, allocations: 90.53 kB / 0.5837 GB, free: 41.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.4272, allocations: 4.906 kB / 0.5837 GB, free: 41.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000245/0.4274, allocations: 229.3 kB / 0.5839 GB, free: 41.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4274, allocations: 4 kB / 0.5839 GB, free: 41.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005611/0.428, allocations: 142.3 kB / 0.5841 GB, free: 41.39 MB / 442.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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005277/0.4333, allocations: 2.391 MB / 0.5864 GB, free: 40.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00254/0.4359, allocations: 1.089 MB / 0.5875 GB, free: 40.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4359, allocations: 1.781 kB / 0.5875 GB, free: 40.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.4376, allocations: 0.7932 MB / 0.5882 GB, free: 39.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.4381, allocations: 30.92 kB / 0.5883 GB, free: 39.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.4507, allocations: 3.828 MB / 0.592 GB, free: 39.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.451, allocations: 0.7878 MB / 0.5928 GB, free: 38.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.4511, allocations: 21.61 kB / 0.5928 GB, free: 38.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.4514, allocations: 110.7 kB / 0.5929 GB, free: 38.36 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4514, allocations: 0 / 0.5929 GB, free: 38.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.4728, allocations: 10.2 MB / 0.6028 GB, free: 37.91 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.473, allocations: 232.8 kB / 0.6031 GB, free: 37.67 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.716, allocations: 0 / 0.6031 GB, free: 37.67 MB / 442.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)