Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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.001096/0.001096, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.256/1.256, allocations: 222.9 MB / 239 MB, free: 4.633 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.001184/0.001184, allocations: 188.5 kB / 289.2 MB, free: 2.383 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4273/0.4273, allocations: 78.54 MB / 417.9 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 71.89 kB / 497 MB, free: 6.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1124, allocations: 68.17 MB / 0.552 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.2012/0.3137, allocations: 3.138 MB / 0.555 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3153, allocations: 0.9552 MB / 0.556 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.3154, allocations: 3.844 kB / 0.556 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.3157, allocations: 85.64 kB / 0.556 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.316, allocations: 123.6 kB / 0.5562 GB, free: 37.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008084/0.3168, allocations: 430.2 kB / 0.5566 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.3173, allocations: 0.5025 MB / 0.5571 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.3175, allocations: 91.72 kB / 0.5571 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.3177, allocations: 216.1 kB / 0.5574 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.318, allocations: 278.9 kB / 0.5576 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.853e-05/0.318, allocations: 44 kB / 0.5577 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.3182, allocations: 97.23 kB / 0.5578 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.3183, allocations: 111.4 kB / 0.5579 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3184, allocations: 223.4 kB / 0.5581 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.3189, allocations: 0.5666 MB / 0.5586 GB, free: 37.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3189, allocations: 0 / 0.5586 GB, free: 37.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3189, allocations: 1.812 kB / 0.5586 GB, free: 37.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3189, allocations: 3.125 kB / 0.5586 GB, free: 37.17 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.002964/0.3219, allocations: 1.113 MB / 0.5597 GB, free: 36.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.322, allocations: 11.22 kB / 0.5597 GB, free: 36.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.322, allocations: 60.27 kB / 0.5598 GB, free: 36.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.3236, allocations: 271.1 kB / 0.56 GB, free: 36.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.3241, allocations: 403 kB / 0.5604 GB, free: 36.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.126e-05/0.3242, allocations: 91.8 kB / 0.5605 GB, free: 36.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.3242, allocations: 29.58 kB / 0.5605 GB, free: 36.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.3249, allocations: 401.5 kB / 0.5609 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3249, allocations: 3.938 kB / 0.5609 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.325, allocations: 10.78 kB / 0.5609 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.325, allocations: 5.75 kB / 0.5609 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.3256, allocations: 392.6 kB / 0.5613 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.3273, allocations: 1.093 MB / 0.5624 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006258/0.3336, allocations: 1.379 MB / 0.5637 GB, free: 35.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.3341, allocations: 276.7 kB / 0.564 GB, free: 35.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.868e-05/0.3341, allocations: 7.156 kB / 0.564 GB, free: 35.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.3342, allocations: 37.41 kB / 0.564 GB, free: 35.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.995e-06/0.3342, allocations: 0 / 0.564 GB, free: 35.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005612/0.3398, allocations: 1.951 MB / 0.5659 GB, free: 35.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.3398, allocations: 62.16 kB / 0.566 GB, free: 35.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.3403, allocations: 401.2 kB / 0.5664 GB, free: 35.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.3403, allocations: 29.52 kB / 0.5664 GB, free: 35.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3404, allocations: 210.9 kB / 0.5666 GB, free: 35.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/0.3405, allocations: 124.4 kB / 0.5667 GB, free: 35.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.3407, allocations: 55.72 kB / 0.5668 GB, free: 35.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.3407, allocations: 350.2 kB / 0.5671 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/0.3412, allocations: 230 kB / 0.5673 GB, free: 34.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.3416, allocations: 229.9 kB / 0.5676 GB, free: 34.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000861/0.3425, allocations: 0.4897 MB / 0.568 GB, free: 34.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3425, allocations: 0 / 0.568 GB, free: 34.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003664/0.3462, allocations: 1.282 MB / 0.5693 GB, free: 34.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3462, allocations: 6.188 kB / 0.5693 GB, free: 34.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3462, allocations: 4 kB / 0.5693 GB, free: 34.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/0.349, allocations: 0.7659 MB / 0.5701 GB, free: 34.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3492, allocations: 38.95 kB / 0.5701 GB, free: 34.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/0.3545, allocations: 3.118 MB / 0.5731 GB, free: 33.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.355, allocations: 48.22 kB / 0.5732 GB, free: 33.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.3551, allocations: 9.125 kB / 0.5732 GB, free: 33.05 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.0002009/0.3553, allocations: 150.2 kB / 0.5733 GB, free: 32.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.3554, allocations: 48.03 kB / 0.5734 GB, free: 32.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/0.3588, allocations: 1.209 MB / 0.5746 GB, free: 32.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3588, allocations: 3.844 kB / 0.5746 GB, free: 32.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3588, allocations: 3.938 kB / 0.5746 GB, free: 32.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3588, allocations: 9.828 kB / 0.5746 GB, free: 32.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.3593, allocations: 0.5302 MB / 0.5751 GB, free: 32.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3593, allocations: 0 / 0.5751 GB, free: 32.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.3596, allocations: 40.06 kB / 0.5751 GB, free: 32.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001928/0.3615, allocations: 0.618 MB / 0.5757 GB, free: 32.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.3616, allocations: 10.53 kB / 0.5757 GB, free: 32.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/0.365, allocations: 2.556 MB / 0.5782 GB, free: 31.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.365, allocations: 2.453 kB / 0.5782 GB, free: 31.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003899/0.3689, allocations: 1.573 MB / 0.5798 GB, free: 30.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3691, allocations: 126.8 kB / 0.5799 GB, free: 30.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.3692, allocations: 10.69 kB / 0.5799 GB, free: 30.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.3696, allocations: 33.66 kB / 0.5799 GB, free: 30.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.3699, allocations: 88.92 kB / 0.58 GB, free: 30.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.3699, allocations: 10.66 kB / 0.58 GB, free: 30.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003203/0.3702, allocations: 289.9 kB / 0.5803 GB, free: 30.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.3702, allocations: 0 / 0.5803 GB, free: 30.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005701/0.3708, allocations: 146 kB / 0.5805 GB, free: 30.27 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.004231/0.375, allocations: 2.129 MB / 0.5825 GB, free: 29.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.3777, allocations: 1.09 MB / 0.5836 GB, free: 28.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3777, allocations: 1.406 kB / 0.5836 GB, free: 28.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.3793, allocations: 0.7307 MB / 0.5843 GB, free: 28.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.3798, allocations: 35.3 kB / 0.5843 GB, free: 28.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.3918, allocations: 5.846 MB / 0.5901 GB, free: 25.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.3921, allocations: 0.8075 MB / 0.5908 GB, free: 24.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.3922, allocations: 33.17 kB / 0.5909 GB, free: 24.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.3924, allocations: 136.5 kB / 0.591 GB, free: 24.46 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3925, allocations: 0 / 0.591 GB, free: 24.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.4241, allocations: 11.61 MB / 0.6023 GB, free: 23.16 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/0.4242, allocations: 245.9 kB / 0.6026 GB, free: 22.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.357, allocations: 0 / 0.6026 GB, free: 22.91 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)