Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.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) 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(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001592, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.466/1.466, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 55.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2534, allocations: 46.64 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003059/0.2565, allocations: 2.468 MB / 327.8 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004583/0.257, allocations: 246.8 kB / 328 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2571, allocations: 4.656 kB / 328 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2573, allocations: 44.02 kB / 328.1 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.2574, allocations: 89.52 kB / 328.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.2576, allocations: 69.55 kB / 328.2 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.2579, allocations: 318 kB / 328.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.2581, allocations: 99.11 kB / 328.6 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.2583, allocations: 111.2 kB / 328.7 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.2584, allocations: 136.9 kB / 328.9 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.2585, allocations: 24.72 kB / 328.9 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.163e-05/0.2586, allocations: 25.12 kB / 328.9 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.2586, allocations: 58.45 kB / 329 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2587, allocations: 137.5 kB / 329.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.2591, allocations: 316 kB / 329.4 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2591, allocations: 1.219 kB / 329.4 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2591, allocations: 7.938 kB / 329.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2591, allocations: 0 / 329.4 MB, free: 14.74 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008418/0.26, allocations: 0.5635 MB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.26, allocations: 9.531 kB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.2601, allocations: 35.84 kB / 330 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.2604, allocations: 250.4 kB / 330.3 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.2604, allocations: 19.91 kB / 330.3 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.2605, allocations: 37.33 kB / 330.3 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.2609, allocations: 255.1 kB / 330.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2609, allocations: 5.641 kB / 330.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.2609, allocations: 14.91 kB / 330.6 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2609, allocations: 7.188 kB / 330.6 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.2612, allocations: 180.4 kB / 330.8 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.2623, allocations: 0.747 MB / 331.5 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.2627, allocations: 283.4 kB / 331.8 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.2629, allocations: 127 kB / 331.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.2629, allocations: 3.594 kB / 331.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.2629, allocations: 36.94 kB / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 1.372e-06/0.2629, allocations: 0 / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.002547/0.2655, allocations: 1.701 MB / 333.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.2656, allocations: 85.11 kB / 333.8 MB, free: 11.08 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.2657, allocations: 182.2 kB / 333.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.2658, allocations: 37.7 kB / 334 MB, free: 10.85 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.2658, allocations: 136.8 kB / 334.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.266, allocations: 173.4 kB / 334.3 MB, free: 10.54 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.2661, allocations: 70.27 kB / 334.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2662, allocations: 342.8 kB / 334.7 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.2664, allocations: 105.1 kB / 334.8 MB, free: 10.01 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.2666, allocations: 161.4 kB / 334.9 MB, free: 9.84 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.267, allocations: 274.2 kB / 335.2 MB, free: 9.562 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.267, allocations: 0 / 335.2 MB, free: 9.562 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004925/0.2675, allocations: 377.7 kB / 335.6 MB, free: 9.188 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2675, allocations: 8.062 kB / 335.6 MB, free: 9.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2675, allocations: 8 kB / 335.6 MB, free: 9.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2675, allocations: 0 / 335.6 MB, free: 9.172 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.2679, allocations: 103.9 kB / 335.7 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2679, allocations: 7.875 kB / 335.7 MB, free: 9.062 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.268, allocations: 12 kB / 335.7 MB, free: 9.051 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.2681, allocations: 12 kB / 335.7 MB, free: 9.039 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001323/0.2682, allocations: 149.8 kB / 335.9 MB, free: 8.883 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.2683, allocations: 31.66 kB / 335.9 MB, free: 8.852 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.766e-05/0.2684, allocations: 41.86 kB / 335.9 MB, free: 8.812 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-06/0.2684, allocations: 4 kB / 335.9 MB, free: 8.809 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2684, allocations: 0 / 335.9 MB, free: 8.809 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2684, allocations: 7.984 kB / 336 MB, free: 8.801 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.2696, allocations: 0.9517 MB / 336.9 MB, free: 7.785 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.2696, allocations: 7.922 kB / 336.9 MB, free: 7.777 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.27, allocations: 95.83 kB / 337 MB, free: 7.684 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.27, allocations: 7.938 kB / 337 MB, free: 7.676 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.2701, allocations: 12 kB / 337 MB, free: 7.664 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2701, allocations: 4 kB / 337 MB, free: 7.66 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2701, allocations: 0 / 337 MB, free: 7.66 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/0.2708, allocations: 0.6434 MB / 337.7 MB, free: 6.988 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.2708, allocations: 100.8 kB / 337.8 MB, free: 6.871 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.2709, allocations: 12 kB / 337.8 MB, free: 6.859 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2711, allocations: 4 kB / 337.8 MB, free: 6.855 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.2711, allocations: 35.83 kB / 337.8 MB, free: 6.82 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.2711, allocations: 15.98 kB / 337.8 MB, free: 6.805 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.405e-05/0.2712, allocations: 133.5 kB / 338 MB, free: 6.676 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2712, allocations: 0 / 338 MB, free: 6.676 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000366/0.2716, allocations: 80 kB / 338 MB, free: 6.598 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * 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.0001113/0.2717, allocations: 107.2 kB / 338.1 MB, free: 6.484 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.2722, allocations: 314.8 kB / 338.5 MB, free: 6.176 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2722, allocations: 4 kB / 338.5 MB, free: 6.172 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.2724, allocations: 156.5 kB / 338.6 MB, free: 6.02 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.273, allocations: 68.05 kB / 338.7 MB, free: 5.953 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.2745, allocations: 1.009 MB / 339.7 MB, free: 4.91 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.2749, allocations: 0.7764 MB / 340.5 MB, free: 4.109 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.275, allocations: 34.95 kB / 340.5 MB, free: 4.078 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.2751, allocations: 31.38 kB / 340.5 MB, free: 4.051 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2751, allocations: 0 / 340.5 MB, free: 4.051 MB / 270.1 MB Notification: Performance of Templates: time 0.006532/0.2816, allocations: 3.04 MB / 343.6 MB, free: 1.012 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)