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.001034/0.001034, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001038/0.001038, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.284/1.284, allocations: 222.9 MB / 241.1 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.7623/0.7623, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 71.05 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1796, allocations: 80.22 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003152/0.1828, allocations: 1.934 MB / 0.6622 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1841, allocations: 0.7207 MB / 0.6629 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.1842, allocations: 4 kB / 0.6629 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.1844, allocations: 87.62 kB / 0.663 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.1845, allocations: 91.58 kB / 0.6631 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.1851, allocations: 179.7 kB / 0.6633 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.1854, allocations: 271.4 kB / 0.6635 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.1855, allocations: 81.8 kB / 0.6636 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1857, allocations: 115.6 kB / 0.6637 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1859, allocations: 147.5 kB / 0.6639 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.1859, allocations: 20 kB / 0.6639 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.186, allocations: 91.94 kB / 0.664 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/0.1861, allocations: 55.81 kB / 0.664 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1862, allocations: 111.3 kB / 0.6641 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.1866, allocations: 299.1 kB / 0.6644 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1866, allocations: 0 / 0.6644 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.126e-06/0.1866, allocations: 4 kB / 0.6644 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.1866, allocations: 3.938 kB / 0.6644 GB, free: 6.059 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.00081/0.1874, allocations: 0.5857 MB / 0.665 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1874, allocations: 8.031 kB / 0.665 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.1875, allocations: 28.56 kB / 0.665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.188, allocations: 302.9 kB / 0.6653 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.188, allocations: 20.12 kB / 0.6653 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.1881, allocations: 12 kB / 0.6653 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.1885, allocations: 219.7 kB / 0.6656 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1885, allocations: 0 / 0.6656 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.1885, allocations: 8 kB / 0.6656 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1885, allocations: 0 / 0.6656 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.1888, allocations: 136.3 kB / 0.6657 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008541/0.1896, allocations: 0.6846 MB / 0.6664 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.19, allocations: 166.5 kB / 0.6665 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.1901, allocations: 105 kB / 0.6666 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1902, allocations: 0 / 0.6666 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.1904, allocations: 173.1 kB / 0.6668 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.1905, allocations: 0 / 0.6668 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.00065/0.1911, allocations: 370.9 kB / 0.6671 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.1912, allocations: 136.5 kB / 0.6673 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1915, allocations: 286.5 kB / 0.6675 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1915, allocations: 33.7 kB / 0.6676 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1916, allocations: 152.3 kB / 0.6677 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.1917, allocations: 51.3 kB / 0.6678 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.1917, allocations: 41.7 kB / 0.6678 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1919, allocations: 338.8 kB / 0.6681 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.192, allocations: 87.95 kB / 0.6682 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.1922, allocations: 129.1 kB / 0.6683 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.1926, allocations: 244.8 kB / 0.6686 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1926, allocations: 0 / 0.6686 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00049/0.1931, allocations: 342.2 kB / 0.6689 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.1931, allocations: 41.69 kB / 0.6689 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1931, allocations: 0 / 0.6689 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1931, allocations: 0 / 0.6689 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1933, allocations: 27.92 kB / 0.669 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.1933, allocations: 0 / 0.669 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.1934, allocations: 31.86 kB / 0.669 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.1934, allocations: 8 kB / 0.669 GB, free: 1.016 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 (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.0001819/0.1936, allocations: 191.5 kB / 0.6692 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.1937, allocations: 23.72 kB / 0.6692 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.656e-05/0.1937, allocations: 29.83 kB / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1938, allocations: 0 / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1938, allocations: 0 / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.1938, allocations: 108.7 kB / 0.6693 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.1939, allocations: 8 kB / 0.6693 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.194, allocations: 11.98 kB / 0.6694 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.1941, allocations: 27.95 kB / 0.6694 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007519/0.1949, allocations: 487.8 kB / 0.6698 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008106/0.1957, allocations: 0.6054 MB / 0.6704 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001885/0.1959, allocations: 128.2 kB / 0.6706 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000178/0.1961, allocations: 201.9 kB / 0.6708 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of Backend: time 2.565e-06/0.1961, allocations: 0 / 0.6708 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006863/0.1968, allocations: 311.8 kB / 0.6711 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0009248/0.1977, allocations: 0.9091 MB / 0.6719 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of Templates: time 0.006254/0.204, allocations: 3.067 MB / 0.6749 GB, free: 10.8 MB / 0.5137 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)