Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia") 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: 97.72 kB / 15.36 MB, free: 0.7305 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.001431/0.001432, allocations: 175 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3794/0.3794, allocations: 40 MB / 310.7 MB, free: 9.562 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.0005149/0.0005149, allocations: 12 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 57.96 MB / 437.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003716/0.1394, allocations: 2.727 MB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00091/0.1403, allocations: 410.5 kB / 440.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.1405, allocations: 8 kB / 440.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.899e-05/0.1406, allocations: 47.62 kB / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.141, allocations: 142.8 kB / 440.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1412, allocations: 83.92 kB / 440.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.1417, allocations: 0.5208 MB / 441.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.142, allocations: 137.1 kB / 441.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1423, allocations: 175.3 kB / 441.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.1425, allocations: 203 kB / 441.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.1426, allocations: 24 kB / 441.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.464e-05/0.1426, allocations: 24 kB / 441.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.891e-05/0.1427, allocations: 79.69 kB / 442 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.1429, allocations: 260.5 kB / 442.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.1434, allocations: 0.4905 MB / 442.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1434, allocations: 0 / 442.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1435, allocations: 3.938 kB / 442.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1435, allocations: 0 / 442.7 MB, free: 12.59 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001002/0.1445, allocations: 0.6317 MB / 443.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1446, allocations: 16.03 kB / 443.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.1447, allocations: 52.28 kB / 443.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.145, allocations: 287.5 kB / 443.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.1451, allocations: 37.38 kB / 443.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.1453, allocations: 56.27 kB / 443.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/0.1461, allocations: 462.6 kB / 444.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.1462, allocations: 12.09 kB / 444.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.1462, allocations: 23.94 kB / 444.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.1462, allocations: 12 kB / 444.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.1467, allocations: 255.7 kB / 444.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.1491, allocations: 1.703 MB / 446.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/0.1498, allocations: 423.3 kB / 446.6 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.15, allocations: 164.2 kB / 446.8 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.15, allocations: 4 kB / 446.8 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.1501, allocations: 54.47 kB / 446.9 MB, free: 8.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.723e-06/0.1501, allocations: 0 / 446.9 MB, free: 8.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008235/0.1509, allocations: 349 kB / 447.2 MB, free: 7.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002256/0.1512, allocations: 276.9 kB / 447.5 MB, free: 7.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.1515, allocations: 246.6 kB / 447.7 MB, free: 7.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.1516, allocations: 34.2 kB / 447.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.1518, allocations: 247.6 kB / 448 MB, free: 6.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.152, allocations: 177.4 kB / 448.2 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.1521, allocations: 61.69 kB / 448.2 MB, free: 6.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.1523, allocations: 346.8 kB / 448.6 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.1526, allocations: 121.9 kB / 448.7 MB, free: 6.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.1531, allocations: 417.6 kB / 449.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008237/0.1539, allocations: 0.5732 MB / 449.7 MB, free: 4.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.1539, allocations: 4 kB / 449.7 MB, free: 4.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000979/0.1549, allocations: 0.5604 MB / 450.2 MB, free: 4.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.155, allocations: 12 kB / 450.2 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.155, allocations: 28.02 kB / 450.3 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.96e-05/0.1551, allocations: 16 kB / 450.3 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.1556, allocations: 179.7 kB / 450.4 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-05/0.1557, allocations: 23.92 kB / 450.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.156, allocations: 59.38 kB / 450.5 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.1561, allocations: 32 kB / 450.6 MB, free: 4.012 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * 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.0002855/0.1564, allocations: 185.5 kB / 450.7 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.1566, allocations: 43.55 kB / 450.8 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.1567, allocations: 45.7 kB / 450.8 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.1567, allocations: 7.938 kB / 450.8 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.1568, allocations: 4 kB / 450.8 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.1568, allocations: 4 kB / 450.8 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.1578, allocations: 417.1 kB / 451.3 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1578, allocations: 4 kB / 451.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.1583, allocations: 119.9 kB / 451.4 MB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1584, allocations: 4 kB / 451.4 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.1584, allocations: 12 kB / 451.4 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.1584, allocations: 11.92 kB / 451.4 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1584, allocations: 8 kB / 451.4 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.1592, allocations: 1.078 MB / 452.5 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.1593, allocations: 108.6 kB / 452.6 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.1594, allocations: 16 kB / 452.6 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.1598, allocations: 11.94 kB / 452.6 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.1599, allocations: 31.89 kB / 452.6 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.1599, allocations: 16 kB / 452.7 MB, free: 1.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1601, allocations: 174 kB / 452.8 MB, free: 1.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1601, allocations: 0 / 452.8 MB, free: 1.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008521/0.161, allocations: 135.7 kB / 453 MB, free: 1.496 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.0002464/0.1612, allocations: 118.9 kB / 453.1 MB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006753/0.1619, allocations: 348.5 kB / 453.4 MB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.1619, allocations: 0 / 453.4 MB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.1621, allocations: 126.3 kB / 453.5 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.1634, allocations: 108.3 kB / 453.7 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2353/0.3987, allocations: 2.478 MB / 456.1 MB, free: 46.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3991, allocations: 0.8303 MB / 457 MB, free: 45.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.3993, allocations: 50.7 kB / 457 MB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.3994, allocations: 31.88 kB / 457 MB, free: 45.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.803e-06/0.3994, allocations: 0 / 457 MB, free: 45.64 MB / 382.1 MB Notification: Performance of Templates: time 0.007857/0.4073, allocations: 3.851 MB / 460.9 MB, free: 45.42 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) Environment - environmentSimulation: