Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_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/Complex 4.0.0+maint.om/package.mo): time 0.0009564/0.0009616, allocations: 174.7 kB / 15.45 MB, free: 6.227 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.324/1.324, allocations: 223.3 MB / 239.5 MB, free: 1.594 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.0008257/0.0008256, allocations: 97 kB / 290.6 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4629/0.4629, allocations: 78.62 MB / 420.4 MB, free: 44.15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 12 kB / 0.4889 GB, free: 2.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3652, allocations: 69.34 MB / 0.5566 GB, free: 38.91 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003269/0.3685, allocations: 2.768 MB / 0.5593 GB, free: 38.38 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3704, allocations: 0.9499 MB / 0.5602 GB, free: 37.96 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.3706, allocations: 3.781 kB / 0.5602 GB, free: 37.96 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.3709, allocations: 73.47 kB / 0.5603 GB, free: 37.94 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.3713, allocations: 125.8 kB / 0.5604 GB, free: 37.88 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009419/0.3722, allocations: 432.9 kB / 0.5608 GB, free: 37.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.3728, allocations: 489.8 kB / 0.5613 GB, free: 37.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.373, allocations: 85.39 kB / 0.5614 GB, free: 37.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.3733, allocations: 186.6 kB / 0.5616 GB, free: 37.54 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.3736, allocations: 259.5 kB / 0.5618 GB, free: 37.47 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-05/0.3737, allocations: 23.38 kB / 0.5618 GB, free: 37.47 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.3739, allocations: 71.75 kB / 0.5619 GB, free: 37.47 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.374, allocations: 90.94 kB / 0.562 GB, free: 37.44 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.3742, allocations: 228.9 kB / 0.5622 GB, free: 37.33 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006572/0.3749, allocations: 0.5365 MB / 0.5627 GB, free: 37.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3749, allocations: 3.938 kB / 0.5627 GB, free: 37.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3749, allocations: 0.5625 kB / 0.5627 GB, free: 37.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.3749, allocations: 0 / 0.5627 GB, free: 37.2 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002978/0.3779, allocations: 1.07 MB / 0.5638 GB, free: 36.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.378, allocations: 9.969 kB / 0.5638 GB, free: 36.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.94e-05/0.378, allocations: 63.06 kB / 0.5638 GB, free: 36.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.3796, allocations: 271.9 kB / 0.5641 GB, free: 36.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.3801, allocations: 405.6 kB / 0.5645 GB, free: 36.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.845e-05/0.3802, allocations: 95.2 kB / 0.5646 GB, free: 36.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.3802, allocations: 27.41 kB / 0.5646 GB, free: 36.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007523/0.381, allocations: 422.2 kB / 0.565 GB, free: 36.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.381, allocations: 0 / 0.565 GB, free: 36.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.3811, allocations: 9.719 kB / 0.565 GB, free: 36.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.3811, allocations: 5.812 kB / 0.565 GB, free: 36.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.3819, allocations: 413.9 kB / 0.5654 GB, free: 36.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.3838, allocations: 1.132 MB / 0.5665 GB, free: 35.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006385/0.3902, allocations: 1.849 MB / 0.5683 GB, free: 35.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.3907, allocations: 300.1 kB / 0.5686 GB, free: 35.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.917e-05/0.3908, allocations: 5.625 kB / 0.5686 GB, free: 35.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.3908, allocations: 38.5 kB / 0.5687 GB, free: 35.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.3908, allocations: 0 / 0.5687 GB, free: 35.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.005764/0.3966, allocations: 2.36 MB / 0.571 GB, free: 34.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.3966, allocations: 63 kB / 0.571 GB, free: 34.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.3971, allocations: 400.9 kB / 0.5714 GB, free: 34.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.3971, allocations: 37.64 kB / 0.5714 GB, free: 34.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.3972, allocations: 206.8 kB / 0.5716 GB, free: 34.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.3973, allocations: 122.5 kB / 0.5718 GB, free: 34.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.3974, allocations: 34.02 kB / 0.5718 GB, free: 34.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.3974, allocations: 349.3 kB / 0.5721 GB, free: 33.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.3979, allocations: 255.4 kB / 0.5724 GB, free: 33.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.3983, allocations: 260.8 kB / 0.5726 GB, free: 33.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008834/0.3992, allocations: 0.5377 MB / 0.5731 GB, free: 33.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3992, allocations: 0 / 0.5731 GB, free: 33.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003725/0.403, allocations: 1.523 MB / 0.5746 GB, free: 32.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.403, allocations: 4.156 kB / 0.5746 GB, free: 32.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.403, allocations: 6.875 kB / 0.5746 GB, free: 32.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/0.4057, allocations: 0.8958 MB / 0.5755 GB, free: 32.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.4059, allocations: 39.08 kB / 0.5755 GB, free: 32.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00463/0.4106, allocations: 3.022 MB / 0.5785 GB, free: 30.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.411, allocations: 65.77 kB / 0.5786 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.4111, allocations: 9.5 kB / 0.5786 GB, free: 30.82 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 (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.0001632/0.4112, allocations: 152.6 kB / 0.5787 GB, free: 30.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.4113, allocations: 39.22 kB / 0.5788 GB, free: 30.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.4148, allocations: 1.455 MB / 0.5802 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4148, allocations: 4.344 kB / 0.5802 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4148, allocations: 2.469 kB / 0.5802 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4148, allocations: 0 / 0.5802 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.4153, allocations: 0.5351 MB / 0.5807 GB, free: 29.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4153, allocations: 7.938 kB / 0.5807 GB, free: 29.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.4155, allocations: 43.06 kB / 0.5808 GB, free: 29.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/0.4175, allocations: 0.7516 MB / 0.5815 GB, free: 29.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.4175, allocations: 4 kB / 0.5815 GB, free: 29.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003355/0.4209, allocations: 2.521 MB / 0.5839 GB, free: 28.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4209, allocations: 7.922 kB / 0.584 GB, free: 28.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/0.4248, allocations: 1.845 MB / 0.5858 GB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.425, allocations: 127.2 kB / 0.5859 GB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.425, allocations: 8 kB / 0.5859 GB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/0.4254, allocations: 45.05 kB / 0.5859 GB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.4257, allocations: 84.58 kB / 0.586 GB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.4257, allocations: 6.125 kB / 0.586 GB, free: 27.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002804/0.426, allocations: 293 kB / 0.5863 GB, free: 27.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.426, allocations: 0 / 0.5863 GB, free: 27.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005007/0.4265, allocations: 147.9 kB / 0.5864 GB, free: 27.11 MB / 426.7 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.004299/0.4308, allocations: 2.409 MB / 0.5888 GB, free: 25.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.4334, allocations: 1.17 MB / 0.5899 GB, free: 25.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4335, allocations: 0 / 0.5899 GB, free: 25.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.4351, allocations: 0.8152 MB / 0.5907 GB, free: 24.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.4356, allocations: 37.92 kB / 0.5908 GB, free: 24.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.4475, allocations: 6.413 MB / 0.597 GB, free: 21.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.4477, allocations: 0.8114 MB / 0.5978 GB, free: 21.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.4479, allocations: 29.28 kB / 0.5978 GB, free: 21.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.448, allocations: 139.4 kB / 0.598 GB, free: 21.08 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4481, allocations: 0 / 0.598 GB, free: 21.08 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.4719, allocations: 10.91 MB / 0.6086 GB, free: 19.65 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001319/0.472, allocations: 262.5 kB / 0.6089 GB, free: 19.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.645, allocations: 3.938 kB / 0.6089 GB, free: 19.39 MB / 426.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)