Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 99.78 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.001428/0.001428, 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 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4046/0.4046, allocations: 40 MB / 310.4 MB, free: 9.688 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005879/0.0005881, allocations: 27.98 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1282, allocations: 57.95 MB / 436.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002878/0.1311, allocations: 2.105 MB / 438.9 MB, free: 212 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1324, allocations: 0.683 MB / 439.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.1327, allocations: 4 kB / 439.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.803e-05/0.1328, allocations: 31.77 kB / 439.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.1331, allocations: 95.67 kB / 439.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1334, allocations: 67.92 kB / 439.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.1337, allocations: 231.5 kB / 440 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1339, allocations: 65.42 kB / 440 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.134, allocations: 123.5 kB / 440.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.1342, allocations: 115.4 kB / 440.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.1342, allocations: 12 kB / 440.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.401e-05/0.1343, allocations: 12 kB / 440.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.1343, allocations: 47.81 kB / 440.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.1344, allocations: 77.52 kB / 440.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.1346, allocations: 203.7 kB / 440.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1346, allocations: 0 / 440.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1346, allocations: 0 / 440.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1346, allocations: 0 / 440.6 MB, free: 14.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008633/0.1355, allocations: 0.5495 MB / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1356, allocations: 12.03 kB / 441.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.1356, allocations: 31.62 kB / 441.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1359, allocations: 250.5 kB / 441.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.136, allocations: 20.56 kB / 441.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.136, allocations: 24 kB / 441.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.1365, allocations: 285.9 kB / 441.8 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.1365, allocations: 11.86 kB / 441.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.1366, allocations: 8 kB / 441.8 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1366, allocations: 8 kB / 441.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.137, allocations: 203.8 kB / 442 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.1387, allocations: 1.321 MB / 443.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.1391, allocations: 246.6 kB / 443.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.1392, allocations: 15.92 kB / 443.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1392, allocations: 38.56 kB / 443.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.1392, allocations: 0 / 443.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002728/0.142, allocations: 1.632 MB / 445.2 MB, free: 9.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.1421, allocations: 136.5 kB / 445.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1423, allocations: 217 kB / 445.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.1423, allocations: 29.7 kB / 445.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1424, allocations: 180.2 kB / 445.8 MB, free: 8.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/0.1425, allocations: 114.3 kB / 445.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.1426, allocations: 8 kB / 445.9 MB, free: 8.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1427, allocations: 342.8 kB / 446.2 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.143, allocations: 112.8 kB / 446.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.1433, allocations: 249.5 kB / 446.6 MB, free: 7.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.1436, allocations: 140 kB / 446.7 MB, free: 7.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1436, allocations: 4 kB / 446.7 MB, free: 7.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007027/0.1443, allocations: 413 kB / 447.1 MB, free: 7.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1443, allocations: 12.06 kB / 447.2 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1443, allocations: 4 kB / 447.2 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.1444, allocations: 11.95 kB / 447.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.1448, allocations: 111.8 kB / 447.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.1448, allocations: 11.94 kB / 447.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.145, allocations: 31.98 kB / 447.3 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.145, allocations: 16.52 kB / 447.3 MB, free: 7.109 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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.0001489/0.1452, allocations: 149.7 kB / 447.5 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.1453, allocations: 31.61 kB / 447.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.141e-05/0.1454, allocations: 37.66 kB / 447.5 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1454, allocations: 4 kB / 447.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.1454, allocations: 3.953 kB / 447.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1454, allocations: 8.25 kB / 447.6 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.1472, allocations: 1.013 MB / 448.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1472, allocations: 0 / 448.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.1476, allocations: 87.88 kB / 448.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.1476, allocations: 4 kB / 448.7 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.1476, allocations: 8 kB / 448.7 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1476, allocations: 4.062 kB / 448.7 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1477, allocations: 4 kB / 448.7 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1488, allocations: 0.827 MB / 449.5 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.1489, allocations: 100.9 kB / 449.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.1489, allocations: 11.98 kB / 449.6 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.1492, allocations: 24.3 kB / 449.6 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.1493, allocations: 27.91 kB / 449.7 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1493, allocations: 16 kB / 449.7 MB, free: 4.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1495, allocations: 152.5 kB / 449.8 MB, free: 4.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1495, allocations: 0 / 449.8 MB, free: 4.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000512/0.15, allocations: 68 kB / 449.9 MB, free: 4.391 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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.0001436/0.1501, allocations: 103.2 kB / 450 MB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006299/0.1508, allocations: 296.3 kB / 450.3 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1508, allocations: 4 kB / 450.3 MB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.1511, allocations: 140.6 kB / 450.4 MB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.1515, allocations: 40.55 kB / 450.5 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.153, allocations: 1.074 MB / 451.5 MB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.1534, allocations: 0.7761 MB / 452.3 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.1536, allocations: 34.95 kB / 452.4 MB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.1537, allocations: 27.42 kB / 452.4 MB, free: 1.828 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1537, allocations: 0 / 452.4 MB, free: 1.828 MB / 382.1 MB Notification: Performance of Templates: time 0.2004/0.3541, allocations: 2.089 MB / 454.5 MB, free: 48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) Environment - environmentSimulation: