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: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001272, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 239.5 MB, free: 4.75 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.001415/0.001415, allocations: 196.4 kB / 289.8 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5266/0.5266, allocations: 91.89 MB / 431.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 87.84 kB / 0.5019 GB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3612, allocations: 71.26 MB / 0.5714 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.00339/0.3646, allocations: 3.158 MB / 0.5745 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.3662, allocations: 0.9558 MB / 0.5755 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3663, allocations: 3.25 kB / 0.5755 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.3667, allocations: 83.8 kB / 0.5755 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.367, allocations: 125.1 kB / 0.5757 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008391/0.3678, allocations: 442.9 kB / 0.5761 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.3682, allocations: 489.6 kB / 0.5766 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.3684, allocations: 85.66 kB / 0.5766 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.3686, allocations: 196.6 kB / 0.5768 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.3689, allocations: 260.7 kB / 0.5771 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.3689, allocations: 26 kB / 0.5771 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.3691, allocations: 81.25 kB / 0.5772 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.3692, allocations: 88.52 kB / 0.5773 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.3693, allocations: 209.8 kB / 0.5775 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.3697, allocations: 443.7 kB / 0.5779 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3697, allocations: 0 / 0.5779 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3697, allocations: 0.7812 kB / 0.5779 GB, free: 33.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3697, allocations: 0 / 0.5779 GB, free: 33.61 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.002989/0.3727, allocations: 1.119 MB / 0.579 GB, free: 32.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3727, allocations: 9.156 kB / 0.579 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.3743, allocations: 272.8 kB / 0.5792 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.3748, allocations: 403.3 kB / 0.5796 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.474e-05/0.3749, allocations: 93.56 kB / 0.5797 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.375, allocations: 24.94 kB / 0.5797 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.3757, allocations: 396.9 kB / 0.5801 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3757, allocations: 0 / 0.5801 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.3758, allocations: 10.84 kB / 0.5801 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3758, allocations: 5.75 kB / 0.5801 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006701/0.3764, allocations: 389.8 kB / 0.5805 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.3783, allocations: 1.102 MB / 0.5816 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005928/0.3842, allocations: 1.383 MB / 0.5829 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005566/0.3848, allocations: 277 kB / 0.5832 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.508e-05/0.3849, allocations: 4.562 kB / 0.5832 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.3849, allocations: 37.94 kB / 0.5832 GB, free: 31.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.3849, allocations: 0 / 0.5832 GB, free: 31.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005875/0.3908, allocations: 1.958 MB / 0.5851 GB, free: 30.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.3908, allocations: 55.19 kB / 0.5852 GB, free: 30.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.3913, allocations: 410.2 kB / 0.5856 GB, free: 30.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.3914, allocations: 30.86 kB / 0.5856 GB, free: 30.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.3915, allocations: 204.2 kB / 0.5858 GB, free: 30.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.281e-05/0.3916, allocations: 122.6 kB / 0.5859 GB, free: 29.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.3918, allocations: 55.09 kB / 0.586 GB, free: 29.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.3918, allocations: 352.7 kB / 0.5863 GB, free: 29.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.3923, allocations: 225.2 kB / 0.5865 GB, free: 29.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.3928, allocations: 237.1 kB / 0.5868 GB, free: 29.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.3937, allocations: 0.4883 MB / 0.5872 GB, free: 29.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3937, allocations: 0 / 0.5872 GB, free: 29.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003928/0.3976, allocations: 1.281 MB / 0.5885 GB, free: 28.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.3977, allocations: 9.406 kB / 0.5885 GB, free: 28.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3977, allocations: 0 / 0.5885 GB, free: 28.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/0.4006, allocations: 0.7694 MB / 0.5893 GB, free: 28.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.4009, allocations: 36.33 kB / 0.5893 GB, free: 28.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005284/0.4062, allocations: 2.861 MB / 0.5921 GB, free: 26.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.4068, allocations: 50.97 kB / 0.5921 GB, free: 26.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.4068, allocations: 11.44 kB / 0.5921 GB, free: 26.78 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.0001954/0.407, allocations: 156.8 kB / 0.5923 GB, free: 26.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.4071, allocations: 38.25 kB / 0.5923 GB, free: 26.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/0.4107, allocations: 1.209 MB / 0.5935 GB, free: 26.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.4107, allocations: 4.656 kB / 0.5935 GB, free: 26.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4107, allocations: 5.438 kB / 0.5935 GB, free: 26.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4108, allocations: 1.156 kB / 0.5935 GB, free: 26.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/0.4114, allocations: 0.531 MB / 0.594 GB, free: 25.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4114, allocations: 0 / 0.594 GB, free: 25.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.4117, allocations: 42.98 kB / 0.5941 GB, free: 25.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/0.4139, allocations: 0.6187 MB / 0.5947 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.414, allocations: 13.39 kB / 0.5947 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/0.4177, allocations: 2.352 MB / 0.597 GB, free: 24.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4177, allocations: 5.562 kB / 0.597 GB, free: 24.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/0.4219, allocations: 1.584 MB / 0.5985 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.4221, allocations: 122.7 kB / 0.5987 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.4222, allocations: 5.281 kB / 0.5987 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/0.4227, allocations: 36.16 kB / 0.5987 GB, free: 23.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/0.423, allocations: 86.62 kB / 0.5988 GB, free: 23.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.423, allocations: 11.06 kB / 0.5988 GB, free: 23.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000326/0.4233, allocations: 286.9 kB / 0.5991 GB, free: 23.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4233, allocations: 0 / 0.5991 GB, free: 23.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006001/0.4239, allocations: 139.8 kB / 0.5992 GB, free: 23.17 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.00018/0.4241, allocations: 112.6 kB / 0.5993 GB, free: 23.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002708/0.4268, allocations: 1.072 MB / 0.6004 GB, free: 22.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4269, allocations: 1.219 kB / 0.6004 GB, free: 22.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.4285, allocations: 0.7286 MB / 0.6011 GB, free: 22.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.429, allocations: 31.98 kB / 0.6011 GB, free: 22.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.4307, allocations: 1.028 MB / 0.6021 GB, free: 21.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.431, allocations: 0.812 MB / 0.6029 GB, free: 20.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.4311, allocations: 26.66 kB / 0.6029 GB, free: 20.61 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4311, allocations: 1.406 kB / 0.6029 GB, free: 20.61 MB / 430.1 MB Notification: Performance of Templates: time 0.01427/0.4454, allocations: 10.48 MB / 0.6132 GB, free: 17.84 MB / 430.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)