Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.conf.json 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/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03999/0.03999, allocations: 8.716 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.5 MB / 240.9 MB, free: 13.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008648/0.0008647, allocations: 95.77 kB / 293.9 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.384e-05/1.364e-05, allocations: 0 / 352.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 52.55 MB / 405.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4305/0.5515, allocations: 75.57 MB / 480.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.5518, allocations: 63.88 kB / 480.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0007576/0.5525, allocations: 414.7 kB / 481.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5526, allocations: 0.6562 kB / 481.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.5526, allocations: 0 / 481.2 MB, free: 11.25 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002107/0.5528, allocations: 309.5 kB / 481.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5529, allocations: 16.7 kB / 481.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.5529, allocations: 3.438 kB / 481.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.553, allocations: 164.4 kB / 481.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.553, allocations: 0 / 481.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.553, allocations: 4 kB / 481.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.695e-05/0.5531, allocations: 0 / 481.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.207e-05/0.5532, allocations: 44.95 kB / 481.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5532, allocations: 0 / 481.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.5532, allocations: 7.391 kB / 481.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5532, allocations: 0 / 481.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.5536, allocations: 166.6 kB / 481.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.275e-05/0.5537, allocations: 43.69 kB / 482 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.5537, allocations: 13.84 kB / 482 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.5537, allocations: 0 / 482 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.5538, allocations: 34.5 kB / 482 MB, free: 10.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.5538, allocations: 0 / 482 MB, free: 10.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001229/0.5539, allocations: 43.53 kB / 482 MB, free: 10.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.5539, allocations: 81.02 kB / 482.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.384e-05/0.554, allocations: 89 kB / 482.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.554, allocations: 29.89 kB / 482.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.824e-05/0.554, allocations: 80.14 kB / 482.3 MB, free: 9.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.5541, allocations: 11.22 kB / 482.3 MB, free: 9.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.5541, allocations: 0 / 482.3 MB, free: 9.965 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.5541, allocations: 322.5 kB / 482.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.5541, allocations: 3.938 kB / 482.7 MB, free: 9.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.5542, allocations: 13.72 kB / 482.7 MB, free: 9.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.349e-05/0.5542, allocations: 4.062 kB / 482.7 MB, free: 9.617 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5542, allocations: 0 / 482.7 MB, free: 9.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.011e-05/0.5542, allocations: 44.36 kB / 482.7 MB, free: 9.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.5543, allocations: 4 kB / 482.7 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5543, allocations: 0 / 482.7 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5543, allocations: 3.984 kB / 482.7 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.5545, allocations: 31.92 kB / 482.8 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.5555, allocations: 2.438 MB / 485.2 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.5556, allocations: 8.906 kB / 485.2 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.5556, allocations: 0 / 485.2 MB, free: 6.898 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * 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): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.5557, allocations: 109.1 kB / 485.3 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.5557, allocations: 4 kB / 485.3 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.414e-05/0.5557, allocations: 7.125 kB / 485.3 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.5557, allocations: 0 / 485.3 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.5557, allocations: 0.9375 kB / 485.3 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5557, allocations: 0 / 485.3 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.556, allocations: 174.1 kB / 485.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.556, allocations: 0 / 485.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.5562, allocations: 26.73 kB / 485.5 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5562, allocations: 3.984 kB / 485.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.5562, allocations: 4.516 kB / 485.5 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008904/0.5571, allocations: 2.437 MB / 488 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5571, allocations: 7.656 kB / 488 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.041e-05/0.5572, allocations: 75.17 kB / 488 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.5572, allocations: 85.89 kB / 488.1 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-06/0.5572, allocations: 3.984 kB / 488.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.837e-05/0.5572, allocations: 4 kB / 488.1 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.5573, allocations: 3.938 kB / 488.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.5573, allocations: 0 / 488.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.83e-05/0.5573, allocations: 82.97 kB / 488.2 MB, free: 3.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5573, allocations: 1.312 kB / 488.2 MB, free: 3.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000184/0.5575, allocations: 4 kB / 488.2 MB, free: 3.613 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * 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): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.536e-05/0.5576, allocations: 96 kB / 488.3 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004673/0.5581, allocations: 36.59 kB / 488.4 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5581, allocations: 0 / 488.4 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.5584, allocations: 37.19 kB / 488.4 MB, free: 3.445 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.5585, allocations: 12.02 kB / 488.4 MB, free: 3.434 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.5587, allocations: 67.08 kB / 488.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.5589, allocations: 0.6807 MB / 489.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.5591, allocations: 19.98 kB / 489.2 MB, free: 2.625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.5591, allocations: 19.41 kB / 489.2 MB, free: 2.609 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5591, allocations: 0 / 489.2 MB, free: 2.609 MB / 346.7 MB Notification: Performance of Templates: time 0.002615/0.5617, allocations: 0.8014 MB / 490 MB, free: 1.844 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)