Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 103.5 kB / 16.35 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7547/0.7547, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3627, allocations: 80.19 MB / 0.5815 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004089/0.3668, allocations: 1.937 MB / 0.5834 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3682, allocations: 0.7221 MB / 0.5841 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.3683, allocations: 3.469 kB / 0.5841 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.3686, allocations: 85.55 kB / 0.5842 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.3688, allocations: 89.14 kB / 0.5843 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006614/0.3694, allocations: 193.3 kB / 0.5844 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.3698, allocations: 270.2 kB / 0.5847 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.37, allocations: 63.53 kB / 0.5848 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.3702, allocations: 120.2 kB / 0.5849 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.3704, allocations: 147.8 kB / 0.585 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.3705, allocations: 20.78 kB / 0.585 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3706, allocations: 89.59 kB / 0.5851 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.378e-05/0.3707, allocations: 66.66 kB / 0.5852 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.872e-05/0.3708, allocations: 110.5 kB / 0.5853 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.3711, allocations: 302.1 kB / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3712, allocations: 0 / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3712, allocations: 1.812 kB / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3712, allocations: 3.984 kB / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007838/0.372, allocations: 0.5777 MB / 0.5861 GB, free: 24.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.372, allocations: 10.03 kB / 0.5862 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.3721, allocations: 29.53 kB / 0.5862 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.3725, allocations: 307.5 kB / 0.5865 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3725, allocations: 9.844 kB / 0.5865 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.3726, allocations: 20.56 kB / 0.5865 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.373, allocations: 223.9 kB / 0.5867 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.373, allocations: 0 / 0.5867 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.373, allocations: 10.5 kB / 0.5867 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.373, allocations: 2.906 kB / 0.5867 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.3732, allocations: 137.7 kB / 0.5869 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.3739, allocations: 0.6829 MB / 0.5875 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.3743, allocations: 162.2 kB / 0.5877 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3744, allocations: 100.1 kB / 0.5878 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3744, allocations: 2.594 kB / 0.5878 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.3747, allocations: 175.6 kB / 0.5879 GB, free: 22.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.3747, allocations: 1.438 kB / 0.588 GB, free: 22.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006277/0.3753, allocations: 377.4 kB / 0.5883 GB, free: 22.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3754, allocations: 134.9 kB / 0.5884 GB, free: 22.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.3756, allocations: 283 kB / 0.5887 GB, free: 22.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3757, allocations: 29.36 kB / 0.5887 GB, free: 22.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.3758, allocations: 158.1 kB / 0.5889 GB, free: 22.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.3758, allocations: 37.89 kB / 0.5889 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.3759, allocations: 42.08 kB / 0.589 GB, free: 22.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.3759, allocations: 347.9 kB / 0.5893 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3761, allocations: 82.61 kB / 0.5894 GB, free: 21.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3763, allocations: 133.3 kB / 0.5895 GB, free: 21.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.3766, allocations: 243.8 kB / 0.5897 GB, free: 21.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3766, allocations: 1.094 kB / 0.5897 GB, free: 21.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004709/0.377, allocations: 340.1 kB / 0.5901 GB, free: 21.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.3771, allocations: 37.97 kB / 0.5901 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3771, allocations: 1.281 kB / 0.5901 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3771, allocations: 2.219 kB / 0.5901 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3773, allocations: 25.89 kB / 0.5901 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3773, allocations: 3.406 kB / 0.5901 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.3774, allocations: 37.39 kB / 0.5902 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3774, allocations: 4 kB / 0.5902 GB, free: 21.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.3775, allocations: 195.5 kB / 0.5904 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.3776, allocations: 23.72 kB / 0.5904 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.3776, allocations: 31.55 kB / 0.5904 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3776, allocations: 4 kB / 0.5904 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3777, allocations: 0 / 0.5904 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.3777, allocations: 3.938 kB / 0.5904 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.3778, allocations: 289.4 kB / 0.5907 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3779, allocations: 3.375 kB / 0.5907 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.196e-05/0.3779, allocations: 12 kB / 0.5907 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.378, allocations: 3.984 kB / 0.5907 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.378, allocations: 8 kB / 0.5907 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.378, allocations: 4 kB / 0.5907 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.378, allocations: 0 / 0.5907 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.3785, allocations: 475.5 kB / 0.5912 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.3786, allocations: 93.48 kB / 0.5913 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.3786, allocations: 12 kB / 0.5913 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.3787, allocations: 16.64 kB / 0.5913 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.3788, allocations: 20.53 kB / 0.5913 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.3789, allocations: 12.92 kB / 0.5913 GB, free: 19.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.379, allocations: 202 kB / 0.5915 GB, free: 19.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.379, allocations: 2.125 kB / 0.5915 GB, free: 19.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3792, allocations: 52 kB / 0.5916 GB, free: 19.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.3794, allocations: 131.2 kB / 0.5917 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003626/0.3798, allocations: 297.4 kB / 0.592 GB, free: 19.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3798, allocations: 4 kB / 0.592 GB, free: 19.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.38, allocations: 184.5 kB / 0.5922 GB, free: 19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.3802, allocations: 33.23 kB / 0.5922 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007504/0.381, allocations: 479.6 kB / 0.5926 GB, free: 18.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.3812, allocations: 0.7504 MB / 0.5934 GB, free: 17.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.681e-05/0.3812, allocations: 19.8 kB / 0.5934 GB, free: 17.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.3813, allocations: 16.38 kB / 0.5934 GB, free: 17.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3813, allocations: 0 / 0.5934 GB, free: 17.66 MB / 446.1 MB Notification: Performance of Templates: time 0.005071/0.3864, allocations: 2.819 MB / 0.5962 GB, free: 14.91 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)