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.00135/0.00135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001943/0.001943, allocations: 197 kB / 16.14 MB, free: 6.703 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.736/1.736, allocations: 205.1 MB / 222 MB, free: 4.996 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.4008/0.4008, allocations: 39.93 MB / 309.3 MB, free: 9.52 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.001335/0.001335, allocations: 70.42 kB / 376.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1334, allocations: 56.89 MB / 433.8 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004681/0.1382, allocations: 3.093 MB / 436.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008708/0.1391, allocations: 422.4 kB / 437.3 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.1393, allocations: 8 kB / 437.3 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.1395, allocations: 47.62 kB / 437.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004112/0.1399, allocations: 146.8 kB / 437.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.1402, allocations: 83.92 kB / 437.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006106/0.1408, allocations: 0.5169 MB / 438.1 MB, free: 172 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.1412, allocations: 137.1 kB / 438.2 MB, free: 28 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.1415, allocations: 187.3 kB / 438.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.1419, allocations: 207 kB / 438.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.1419, allocations: 28 kB / 438.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.676e-05/0.142, allocations: 28 kB / 438.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.865e-05/0.1421, allocations: 87.61 kB / 438.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.1424, allocations: 234.9 kB / 439 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.1431, allocations: 0.4946 MB / 439.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.026e-06/0.1431, allocations: 0 / 439.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1431, allocations: 0 / 439.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1431, allocations: 0 / 439.5 MB, free: 14.77 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.001231/0.1443, allocations: 0.7213 MB / 440.2 MB, free: 14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.1444, allocations: 12.03 kB / 440.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.776e-05/0.1445, allocations: 48.38 kB / 440.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.1449, allocations: 295.4 kB / 440.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.1449, allocations: 37.38 kB / 440.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.145, allocations: 52.28 kB / 440.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.1457, allocations: 466.6 kB / 441.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.1458, allocations: 16.08 kB / 441.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.1458, allocations: 19.94 kB / 441.1 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1459, allocations: 16 kB / 441.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004129/0.1463, allocations: 251.7 kB / 441.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.1485, allocations: 1.707 MB / 443.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/0.1492, allocations: 419.4 kB / 443.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.1494, allocations: 155.6 kB / 443.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1494, allocations: 8 kB / 443.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.1495, allocations: 46.5 kB / 443.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.255e-06/0.1495, allocations: 0 / 443.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007729/0.1503, allocations: 361.7 kB / 444.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.1504, allocations: 273.4 kB / 444.3 MB, free: 9.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.1507, allocations: 246.6 kB / 444.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.453e-05/0.1507, allocations: 37.7 kB / 444.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.1509, allocations: 239.6 kB / 444.9 MB, free: 9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.151, allocations: 181.5 kB / 445 MB, free: 8.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.1511, allocations: 118.5 kB / 445.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1513, allocations: 350.7 kB / 445.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.1515, allocations: 118 kB / 445.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.1519, allocations: 417.6 kB / 446 MB, free: 7.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.1526, allocations: 0.581 MB / 446.6 MB, free: 6.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1526, allocations: 0 / 446.6 MB, free: 6.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000806/0.1535, allocations: 0.5673 MB / 447.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.1535, allocations: 12 kB / 447.2 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.1535, allocations: 8 kB / 447.2 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.1536, allocations: 16 kB / 447.2 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.1541, allocations: 183.7 kB / 447.4 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.1542, allocations: 20.39 kB / 447.4 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.1544, allocations: 67.38 kB / 447.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.1545, allocations: 32 kB / 447.5 MB, free: 6.059 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.0002338/0.1547, allocations: 181.5 kB / 447.7 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.1549, allocations: 43.53 kB / 447.7 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1551, allocations: 38.14 kB / 447.7 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.1551, allocations: 11.94 kB / 447.8 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.1551, allocations: 4 kB / 447.8 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.1551, allocations: 3.984 kB / 447.8 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.1562, allocations: 421.2 kB / 448.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.1562, allocations: 8 kB / 448.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.1567, allocations: 119.9 kB / 448.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.1568, allocations: 4 kB / 448.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.1568, allocations: 12 kB / 448.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.1568, allocations: 7.938 kB / 448.3 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1568, allocations: 0 / 448.3 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1578, allocations: 1.074 MB / 449.4 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.1579, allocations: 116.6 kB / 449.5 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.158, allocations: 16 kB / 449.5 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.1584, allocations: 11.94 kB / 449.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.1584, allocations: 31.91 kB / 449.6 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.1585, allocations: 19.98 kB / 449.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1586, allocations: 166 kB / 449.8 MB, free: 3.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1586, allocations: 0 / 449.8 MB, free: 3.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008119/0.1595, allocations: 139.7 kB / 449.9 MB, free: 3.547 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.0001951/0.1597, allocations: 126.8 kB / 450 MB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005011/0.1602, allocations: 350.1 kB / 450.4 MB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1602, allocations: 4.125 kB / 450.4 MB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1603, allocations: 124.2 kB / 450.5 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.1615, allocations: 100.2 kB / 450.6 MB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.1644, allocations: 2.135 MB / 452.7 MB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2225/0.387, allocations: 0.8243 MB / 453.5 MB, free: 49.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002983/0.3873, allocations: 48.5 kB / 453.6 MB, free: 49.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.3874, allocations: 35.38 kB / 453.6 MB, free: 49.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3874, allocations: 0 / 453.6 MB, free: 49.73 MB / 382.1 MB Notification: Performance of Templates: time 0.006527/0.3939, allocations: 3.892 MB / 457.5 MB, free: 49.64 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (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)