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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.0009904/0.0009904, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001094/0.001094, allocations: 177.3 kB / 15.95 MB, free: 216 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.231/1.231, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8564/0.8564, allocations: 135.2 MB / 426.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002756, allocations: 8 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1469, allocations: 82.3 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002004/0.149, allocations: 1.6 MB / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.15, allocations: 0.6473 MB / 0.5894 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1502, allocations: 4 kB / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.1504, allocations: 67.77 kB / 0.5895 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1505, allocations: 91.72 kB / 0.5895 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.151, allocations: 142.8 kB / 0.5897 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.1512, allocations: 147.8 kB / 0.5898 GB, free: 416 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1514, allocations: 49.66 kB / 0.5899 GB, free: 368 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1515, allocations: 87.66 kB / 0.59 GB, free: 280 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1517, allocations: 111.6 kB / 0.5901 GB, free: 168 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1517, allocations: 8 kB / 0.5901 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.1518, allocations: 67.94 kB / 0.5901 GB, free: 92 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.1519, allocations: 39.83 kB / 0.5902 GB, free: 52 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.152, allocations: 65.64 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1522, allocations: 219.7 kB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.1522, allocations: 0 / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1522, allocations: 0 / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.1522, allocations: 0 / 0.5904 GB, free: 15.77 MB / 0.4981 GB 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.0008598/0.1531, allocations: 0.5585 MB / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.1531, allocations: 8.031 kB / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.1532, allocations: 35.62 kB / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.1536, allocations: 297.5 kB / 0.5913 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.1536, allocations: 12 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.1537, allocations: 15.98 kB / 0.5913 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.154, allocations: 223.9 kB / 0.5916 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1541, allocations: 0 / 0.5916 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.1541, allocations: 11.98 kB / 0.5916 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1541, allocations: 0 / 0.5916 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.1543, allocations: 136.3 kB / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.1551, allocations: 0.6924 MB / 0.5924 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.1555, allocations: 178.5 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.1555, allocations: 0 / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/0.1558, allocations: 173.2 kB / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.1558, allocations: 4 kB / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006429/0.1564, allocations: 460.1 kB / 0.5931 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.1565, allocations: 140.5 kB / 0.5933 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.1568, allocations: 278.6 kB / 0.5935 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.1568, allocations: 33.7 kB / 0.5936 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.1569, allocations: 152.2 kB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1569, allocations: 51.38 kB / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.157, allocations: 0 / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1571, allocations: 342.8 kB / 0.5941 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1572, allocations: 100.2 kB / 0.5942 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.1574, allocations: 135.2 kB / 0.5943 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.1576, allocations: 116.1 kB / 0.5944 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1576, allocations: 0 / 0.5944 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000521/0.1581, allocations: 347 kB / 0.5948 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.1582, allocations: 37.69 kB / 0.5948 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1582, allocations: 0 / 0.5948 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1582, allocations: 4 kB / 0.5948 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1583, allocations: 27.92 kB / 0.5948 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1583, allocations: 0 / 0.5948 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.1585, allocations: 31.83 kB / 0.5949 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.1585, allocations: 4 kB / 0.5949 GB, free: 10.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.1586, allocations: 195.2 kB / 0.5951 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.1587, allocations: 31.61 kB / 0.5951 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.1587, allocations: 29.84 kB / 0.5951 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1587, allocations: 3.984 kB / 0.5951 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1587, allocations: 0 / 0.5951 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1588, allocations: 0 / 0.5951 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.159, allocations: 285.4 kB / 0.5954 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.159, allocations: 0 / 0.5954 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1591, allocations: 20 kB / 0.5954 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1591, allocations: 3.953 kB / 0.5954 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.1592, allocations: 15.97 kB / 0.5954 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1592, allocations: 0 / 0.5954 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1592, allocations: 0 / 0.5954 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.1599, allocations: 477.5 kB / 0.5959 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.1599, allocations: 100.8 kB / 0.596 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.16, allocations: 15.95 kB / 0.596 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1601, allocations: 19.98 kB / 0.596 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.1602, allocations: 24.02 kB / 0.596 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1602, allocations: 11.94 kB / 0.596 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001828/0.1604, allocations: 201.9 kB / 0.5962 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1604, allocations: 0 / 0.5962 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002585/0.1607, allocations: 59.84 kB / 0.5963 GB, free: 9.336 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001828/0.1609, allocations: 127.3 kB / 0.5964 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004463/0.1613, allocations: 303.2 kB / 0.5967 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1613, allocations: 3.938 kB / 0.5967 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.1615, allocations: 187.4 kB / 0.5969 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.1618, allocations: 39.03 kB / 0.5969 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008737/0.1627, allocations: 0.5185 MB / 0.5974 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.163, allocations: 0.7519 MB / 0.5982 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.1631, allocations: 17.55 kB / 0.5982 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.1631, allocations: 23.42 kB / 0.5982 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1632, allocations: 0 / 0.5982 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of Templates: time 0.005786/0.1689, allocations: 2.435 MB / 0.6006 GB, free: 4.883 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) Environment - environmentSimulation: