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.001741/0.001741, allocations: 100.2 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.00272/0.00272, 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.73/1.73, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.3505/0.3505, allocations: 39.99 MB / 310.4 MB, free: 9.789 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.0005575/0.0005576, allocations: 16 kB / 378.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1339, allocations: 57.96 MB / 436.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003183/0.1371, allocations: 2.402 MB / 439.2 MB, free: 208 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1384, allocations: 454.8 kB / 439.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.1388, allocations: 15.88 kB / 439.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.139, allocations: 43.62 kB / 439.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.1395, allocations: 175.5 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1398, allocations: 71.92 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007743/0.1406, allocations: 387.1 kB / 440.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.1409, allocations: 140.9 kB / 440.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.1413, allocations: 163.4 kB / 440.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.1418, allocations: 191.2 kB / 440.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.296e-05/0.1418, allocations: 24 kB / 440.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1419, allocations: 24 kB / 440.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.142, allocations: 75.75 kB / 440.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1422, allocations: 121.4 kB / 441 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.1426, allocations: 375.2 kB / 441.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1426, allocations: 0 / 441.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1426, allocations: 0 / 441.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.1427, allocations: 0 / 441.4 MB, free: 13.97 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.00127/0.1439, allocations: 0.6509 MB / 442 MB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.144, allocations: 12.02 kB / 442 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.1442, allocations: 55.34 kB / 442.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.1446, allocations: 286.2 kB / 442.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.1446, allocations: 37 kB / 442.4 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.1447, allocations: 55.91 kB / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007358/0.1455, allocations: 454 kB / 442.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.1455, allocations: 7.906 kB / 442.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.013e-05/0.1456, allocations: 24 kB / 442.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1456, allocations: 12 kB / 443 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004661/0.1461, allocations: 255.7 kB / 443.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.1484, allocations: 1.699 MB / 444.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.149, allocations: 419.6 kB / 445.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.149, allocations: 7.938 kB / 445.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.1491, allocations: 50.48 kB / 445.4 MB, free: 9.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 3.316e-06/0.1491, allocations: 4 kB / 445.4 MB, free: 9.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007507/0.1499, allocations: 349.8 kB / 445.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.15, allocations: 261.5 kB / 446 MB, free: 9.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.1503, allocations: 254.6 kB / 446.2 MB, free: 8.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1503, allocations: 29.7 kB / 446.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1505, allocations: 251.5 kB / 446.5 MB, free: 8.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.1506, allocations: 177.5 kB / 446.7 MB, free: 8.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.1507, allocations: 12 kB / 446.7 MB, free: 8.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1508, allocations: 350.8 kB / 447 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.1511, allocations: 121.9 kB / 447.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005357/0.1516, allocations: 413.5 kB / 447.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.152, allocations: 184.9 kB / 447.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.152, allocations: 8 kB / 447.7 MB, free: 7.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009103/0.1529, allocations: 0.5589 MB / 448.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.1529, allocations: 13 kB / 448.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.153, allocations: 8 kB / 448.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/0.153, allocations: 23.98 kB / 448.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.1536, allocations: 175.7 kB / 448.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.709e-05/0.1536, allocations: 23.92 kB / 448.5 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.154, allocations: 63.28 kB / 448.6 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.154, allocations: 36 kB / 448.6 MB, free: 6.176 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002301/0.1543, allocations: 189.5 kB / 448.8 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.1545, allocations: 39.61 kB / 448.8 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.655e-05/0.1546, allocations: 41.7 kB / 448.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1546, allocations: 8 kB / 448.9 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.1547, allocations: 4 kB / 448.9 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.1547, allocations: 4 kB / 448.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.1558, allocations: 417.1 kB / 449.3 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.1558, allocations: 7.938 kB / 449.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.1563, allocations: 123.9 kB / 449.4 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.1563, allocations: 4 kB / 449.4 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.1564, allocations: 12 kB / 449.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.1564, allocations: 7.984 kB / 449.5 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1564, allocations: 4 kB / 449.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000966/0.1574, allocations: 1.166 MB / 450.6 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1575, allocations: 112.6 kB / 450.7 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.1576, allocations: 16.12 kB / 450.8 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.158, allocations: 19.98 kB / 450.8 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.1581, allocations: 35.84 kB / 450.8 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.1581, allocations: 16 kB / 450.8 MB, free: 3.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.1583, allocations: 166 kB / 451 MB, free: 3.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1583, allocations: 3.938 kB / 451 MB, free: 3.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008925/0.1592, allocations: 131.8 kB / 451.1 MB, free: 3.516 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 (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.0001876/0.1594, allocations: 119.1 kB / 451.2 MB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006524/0.16, allocations: 341.2 kB / 451.6 MB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.16, allocations: 4 kB / 451.6 MB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.1602, allocations: 127.8 kB / 451.7 MB, free: 2.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.161, allocations: 76.78 kB / 451.8 MB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.1642, allocations: 2.429 MB / 454.2 MB, free: 388 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2238/0.3879, allocations: 0.8345 MB / 455 MB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.3883, allocations: 49.91 kB / 455.1 MB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.3884, allocations: 31.25 kB / 455.1 MB, free: 47.06 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3884, allocations: 3.75 kB / 455.1 MB, free: 47.06 MB / 382.1 MB Notification: Performance of Templates: time 0.007257/0.3956, allocations: 3.714 MB / 458.8 MB, free: 46.95 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: