Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009982/0.0009983, allocations: 178.8 kB / 16.12 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04135/0.04135, allocations: 8.773 MB / 25.64 MB, free: 3.258 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 233.9 MB, free: 12.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007649/0.0007651, allocations: 97.83 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004476, allocations: 12 kB / 344.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.377, allocations: 79.62 MB / 474.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3773, allocations: 71.97 kB / 474.2 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02196/0.3993, allocations: 9.205 MB / 483.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3993, allocations: 3.938 kB / 483.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.3994, allocations: 4 kB / 483.4 MB, free: 11.72 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000453/0.3998, allocations: 427 kB / 483.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3999, allocations: 8.031 kB / 483.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.4002, allocations: 108.1 kB / 483.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.4004, allocations: 281 kB / 484.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.4005, allocations: 154.9 kB / 484.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.4006, allocations: 154.9 kB / 484.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.964e-05/0.4006, allocations: 109.5 kB / 484.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.4007, allocations: 75.47 kB / 484.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.4007, allocations: 158.4 kB / 484.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/0.4008, allocations: 154.5 kB / 485 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.232e-05/0.4009, allocations: 150.6 kB / 485.1 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.4012, allocations: 481.9 kB / 485.6 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.4013, allocations: 169.1 kB / 485.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.4014, allocations: 84.14 kB / 485.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.4014, allocations: 75.28 kB / 485.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.901e-05/0.4015, allocations: 113.8 kB / 486 MB, free: 8.898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.4015, allocations: 0 / 486 MB, free: 8.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.669e-05/0.4016, allocations: 37.55 kB / 486.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.4016, allocations: 126.7 kB / 486.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.4019, allocations: 195.2 kB / 486.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.4019, allocations: 25.7 kB / 486.4 MB, free: 8.484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.4019, allocations: 100.1 kB / 486.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.402, allocations: 0 / 486.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.402, allocations: 4 kB / 486.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4021, allocations: 322.8 kB / 486.8 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-06/0.4021, allocations: 0 / 486.8 MB, free: 8.055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.4021, allocations: 4 kB / 486.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.4021, allocations: 75.28 kB / 486.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-05/0.4022, allocations: 75.28 kB / 487 MB, free: 7.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.094e-05/0.4022, allocations: 37.61 kB / 487 MB, free: 7.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.4023, allocations: 79.28 kB / 487.1 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/0.4023, allocations: 87.16 kB / 487.2 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.265e-05/0.4024, allocations: 150.6 kB / 487.3 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.409e-05/0.4024, allocations: 83.22 kB / 487.4 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.303e-05/0.4025, allocations: 154.5 kB / 487.6 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.496e-05/0.4026, allocations: 75.28 kB / 487.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.4026, allocations: 87.22 kB / 487.7 MB, free: 7.152 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001304/0.4027, allocations: 272.4 kB / 488 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.4028, allocations: 120.9 kB / 488.1 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.441e-05/0.4029, allocations: 125.2 kB / 488.2 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.04e-05/0.403, allocations: 180.2 kB / 488.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-05/0.4031, allocations: 176.3 kB / 488.6 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.97e-05/0.4031, allocations: 188.2 kB / 488.8 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.4034, allocations: 425.2 kB / 489.2 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.672e-05/0.4034, allocations: 114.4 kB / 489.3 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.4035, allocations: 101 kB / 489.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.88e-05/0.4036, allocations: 176.3 kB / 489.6 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.809e-05/0.4036, allocations: 184.1 kB / 489.7 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-05/0.4037, allocations: 188.2 kB / 489.9 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.546e-05/0.4038, allocations: 184.2 kB / 490.1 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.4039, allocations: 307.7 kB / 490.4 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4041, allocations: 197.9 kB / 490.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/0.4041, allocations: 184.2 kB / 490.8 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4043, allocations: 112.9 kB / 490.9 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.4043, allocations: 180.3 kB / 491.1 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.4044, allocations: 105.5 kB / 491.2 MB, free: 3.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.4045, allocations: 147.9 kB / 491.3 MB, free: 3.336 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4045, allocations: 0 / 491.3 MB, free: 3.336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.4048, allocations: 23.92 kB / 491.3 MB, free: 3.312 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0002255/0.4051, allocations: 198.5 kB / 491.5 MB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.381e-05/0.4051, allocations: 0 / 491.5 MB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4051, allocations: 0 / 491.5 MB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.4051, allocations: 4 kB / 491.5 MB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.4056, allocations: 0.534 MB / 492.1 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.406, allocations: 256 kB / 492.3 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.4063, allocations: 0.7004 MB / 493 MB, free: 1.566 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.015e-05/0.4063, allocations: 7.938 kB / 493 MB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.4064, allocations: 7.438 kB / 493 MB, free: 1.551 MB / 362.7 MB Notification: Performance of SimCode: time 2e-07/0.4064, allocations: 0 / 493 MB, free: 1.551 MB / 362.7 MB Notification: Performance of Templates: time 0.003348/0.4097, allocations: 0.9937 MB / 494 MB, free: 0.5586 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1)