Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001027/0.001027, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.428/1.428, allocations: 170.7 MB / 178.7 MB, free: 7.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001603/0.001603, allocations: 105.7 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.229/0.229, allocations: 37.96 MB / 295.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.096e-05, allocations: 0 / 350 MB, free: 32.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3219, allocations: 48.7 MB / 398.7 MB, free: 6.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1093/0.4312, allocations: 75.17 MB / 473.9 MB, free: 7.961 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4315, allocations: 63.97 kB / 473.9 MB, free: 7.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02234/0.4538, allocations: 8.327 MB / 482.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4539, allocations: 4 kB / 482.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.4539, allocations: 20 kB / 482.3 MB, free: 15.52 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0009296/0.4548, allocations: 0.6318 MB / 482.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4549, allocations: 12.03 kB / 482.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.702e-05/0.455, allocations: 59.3 kB / 483 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.4553, allocations: 293.4 kB / 483.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.4554, allocations: 12 kB / 483.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.4555, allocations: 39.89 kB / 483.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004482/0.4559, allocations: 269.8 kB / 483.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.4565, allocations: 359.6 kB / 484 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.4565, allocations: 15.89 kB / 484 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.4566, allocations: 0 / 484 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.4566, allocations: 19.95 kB / 484 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.4582, allocations: 1.061 MB / 485 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.4589, allocations: 448 kB / 485.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.4592, allocations: 187 kB / 485.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.4592, allocations: 4.438 kB / 485.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.4593, allocations: 42.94 kB / 485.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 1.593e-06/0.4593, allocations: 0 / 485.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.002405/0.4617, allocations: 1.816 MB / 487.5 MB, free: 9.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4617, allocations: 85.67 kB / 487.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.4619, allocations: 198.1 kB / 487.8 MB, free: 9.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.462, allocations: 25.7 kB / 487.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.4621, allocations: 208.8 kB / 488 MB, free: 9.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.4623, allocations: 264.1 kB / 488.3 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.4623, allocations: 0 / 488.3 MB, free: 9.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4624, allocations: 354.8 kB / 488.6 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.4627, allocations: 133.6 kB / 488.8 MB, free: 8.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.463, allocations: 237.3 kB / 489 MB, free: 8.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.4632, allocations: 188.4 kB / 489.2 MB, free: 8.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4632, allocations: 4 kB / 489.2 MB, free: 8.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006712/0.4639, allocations: 492.4 kB / 489.7 MB, free: 7.695 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4639, allocations: 11.25 kB / 489.7 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.464, allocations: 8 kB / 489.7 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.464, allocations: 4 kB / 489.7 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.4646, allocations: 179.7 kB / 489.9 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.4646, allocations: 11.98 kB / 489.9 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.4648, allocations: 12.06 kB / 489.9 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.4648, allocations: 23.95 kB / 489.9 MB, free: 7.453 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.000105/0.4649, allocations: 120.8 kB / 490 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/0.465, allocations: 51.56 kB / 490.1 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.4651, allocations: 43.92 kB / 490.1 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4652, allocations: 8 kB / 490.1 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4652, allocations: 0 / 490.1 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.4652, allocations: 3.984 kB / 490.1 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.4669, allocations: 1.31 MB / 491.5 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4669, allocations: 4 kB / 491.5 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.4675, allocations: 155.8 kB / 491.6 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.4675, allocations: 8.344 kB / 491.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.4676, allocations: 12 kB / 491.6 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.4676, allocations: 11.94 kB / 491.6 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4676, allocations: 4 kB / 491.6 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.4686, allocations: 0.9778 MB / 492.6 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.993e-05/0.4687, allocations: 124.5 kB / 492.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.4688, allocations: 4 kB / 492.7 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.469, allocations: 4 kB / 492.7 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.4691, allocations: 56.27 kB / 492.8 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.4691, allocations: 20 kB / 492.8 MB, free: 4.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.4692, allocations: 150 kB / 493 MB, free: 4.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4693, allocations: 8 kB / 493 MB, free: 4.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004568/0.4697, allocations: 119.9 kB / 493.1 MB, free: 4.027 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.000142/0.4699, allocations: 107.1 kB / 493.2 MB, free: 3.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005565/0.4704, allocations: 395 kB / 493.6 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4704, allocations: 0 / 493.6 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.4707, allocations: 218.5 kB / 493.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/0.4714, allocations: 95.62 kB / 493.9 MB, free: 3.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.4735, allocations: 1.504 MB / 495.4 MB, free: 1.652 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.474, allocations: 0.8566 MB / 496.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000201/0.4742, allocations: 60.58 kB / 496.3 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.4743, allocations: 39.44 kB / 496.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4743, allocations: 0 / 496.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of Templates: time 0.008521/0.4828, allocations: 4.569 MB / 0.4892 GB, free: 12.13 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)