Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 172.8 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03846/0.03846, allocations: 8.768 MB / 25.63 MB, free: 3.824 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.352/1.352, allocations: 205.4 MB / 233.9 MB, free: 12.48 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.0008653/0.0008654, allocations: 97.75 kB / 284.4 MB, free: 14.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004671, allocations: 20 kB / 344.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2506, allocations: 49.7 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3518, allocations: 76.14 MB / 470.6 MB, free: 8.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.352, allocations: 59.97 kB / 470.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003679/0.3557, allocations: 1.131 MB / 471.8 MB, free: 7.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3557, allocations: 0 / 471.8 MB, free: 7.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.3558, allocations: 0 / 471.8 MB, free: 7.332 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005294/0.3563, allocations: 410.9 kB / 472.2 MB, free: 6.879 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3563, allocations: 12.03 kB / 472.2 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.3564, allocations: 8.844 kB / 472.2 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3566, allocations: 227.9 kB / 472.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3567, allocations: 8.375 kB / 472.5 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3567, allocations: 384 / 472.5 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3569, allocations: 38.25 kB / 472.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3569, allocations: 192 / 472.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3569, allocations: 7.922 kB / 472.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3569, allocations: 0 / 472.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.357, allocations: 15.98 kB / 472.5 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.3572, allocations: 185.7 kB / 472.7 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.809e-05/0.3573, allocations: 42.52 kB / 472.8 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.3573, allocations: 16.94 kB / 472.8 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3574, allocations: 0 / 472.8 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3574, allocations: 30.56 kB / 472.8 MB, free: 6.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.3574, allocations: 4 kB / 472.8 MB, free: 6.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001885/0.3576, allocations: 69.52 kB / 472.9 MB, free: 6.105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.3577, allocations: 55.34 kB / 472.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3579, allocations: 214.3 kB / 473.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3579, allocations: 29.7 kB / 473.2 MB, free: 5.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.358, allocations: 104.1 kB / 473.3 MB, free: 5.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.358, allocations: 7.906 kB / 473.3 MB, free: 5.672 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.358, allocations: 4 kB / 473.3 MB, free: 5.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3582, allocations: 318.8 kB / 473.6 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.3582, allocations: 4 kB / 473.6 MB, free: 5.344 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.3582, allocations: 8 kB / 473.6 MB, free: 5.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.802e-05/0.3583, allocations: 24.84 kB / 473.6 MB, free: 5.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3583, allocations: 4 kB / 473.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.228e-05/0.3584, allocations: 57.5 kB / 473.7 MB, free: 5.242 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3584, allocations: 11.98 kB / 473.7 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3584, allocations: 7.922 kB / 473.7 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3585, allocations: 3.938 kB / 473.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.696e-05/0.3585, allocations: 7.938 kB / 473.7 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3586, allocations: 0 / 473.7 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.3586, allocations: 7.984 kB / 473.7 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3586, allocations: 0 / 473.7 MB, free: 5.203 MB / 346.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 (3): * Single equations (assignments): 3 * 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.000111/0.3587, allocations: 125.8 kB / 473.9 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.3588, allocations: 11.91 kB / 473.9 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.3589, allocations: 70.55 kB / 473.9 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3589, allocations: 384 / 473.9 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3589, allocations: 0 / 473.9 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3589, allocations: 0 / 473.9 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.3591, allocations: 181.5 kB / 474.1 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3591, allocations: 3.984 kB / 474.1 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.3591, allocations: 11.94 kB / 474.1 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3592, allocations: 0 / 474.1 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3592, allocations: 7.922 kB / 474.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3592, allocations: 4 kB / 474.1 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3592, allocations: 0 / 474.1 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.3593, allocations: 81.03 kB / 474.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.3594, allocations: 85.02 kB / 474.3 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.3594, allocations: 7.922 kB / 474.3 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.3595, allocations: 4 kB / 474.3 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.3595, allocations: 0 / 474.3 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3595, allocations: 8 kB / 474.3 MB, free: 4.508 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.3597, allocations: 172.2 kB / 474.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3597, allocations: 0 / 474.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.3599, allocations: 8 kB / 474.5 MB, free: 4.332 MB / 346.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 (3): * Single equations (assignments): 3 * 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.0001123/0.36, allocations: 103.2 kB / 474.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.3601, allocations: 23.92 kB / 474.6 MB, free: 4.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3601, allocations: 0 / 474.6 MB, free: 4.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.3601, allocations: 15.98 kB / 474.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.3603, allocations: 8 kB / 474.6 MB, free: 4.176 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.3606, allocations: 206.9 kB / 474.8 MB, free: 3.945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.361, allocations: 0.7082 MB / 475.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.079e-05/0.3611, allocations: 15.98 kB / 475.6 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.3611, allocations: 11.44 kB / 475.6 MB, free: 3.184 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3611, allocations: 0 / 475.6 MB, free: 3.184 MB / 346.7 MB Notification: Performance of Templates: time 0.002413/0.3635, allocations: 0.539 MB / 476.1 MB, free: 2.645 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1)