Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001465, 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.0599/0.0599, allocations: 8.72 MB / 16.79 MB, free: 3.371 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.304/1.304, allocations: 221.5 MB / 240.8 MB, free: 13.2 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.0009635/0.0009634, allocations: 93.84 kB / 293.8 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.348e-05, allocations: 4 kB / 352.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 52.55 MB / 405.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3138/0.4345, allocations: 75.82 MB / 481 MB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.4347, allocations: 63.09 kB / 481.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0007045/0.4354, allocations: 452.4 kB / 481.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4354, allocations: 0 / 481.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.4354, allocations: 0 / 481.5 MB, free: 10.99 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.0001528/0.4356, allocations: 310.5 kB / 481.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4356, allocations: 15.98 kB / 481.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.4357, allocations: 3.438 kB / 481.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.4358, allocations: 163.1 kB / 482 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4358, allocations: 0 / 482 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.4358, allocations: 5.312 kB / 482 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.398e-05/0.4359, allocations: 0 / 482 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.406e-05/0.4359, allocations: 49.47 kB / 482 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.4359, allocations: 1.75 kB / 482 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.4359, allocations: 3.953 kB / 482 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4359, allocations: 0.8906 kB / 482 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.4362, allocations: 444.7 kB / 482.5 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.35e-05/0.4362, allocations: 179.2 kB / 482.7 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.4362, allocations: 80.14 kB / 482.7 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.4363, allocations: 75.28 kB / 482.8 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.4363, allocations: 113 kB / 482.9 MB, free: 9.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.4363, allocations: 1.219 kB / 482.9 MB, free: 9.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 5.344e-05/0.4363, allocations: 34.91 kB / 483 MB, free: 9.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.4364, allocations: 55.39 kB / 483 MB, free: 9.344 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.105e-05/0.4364, allocations: 94.5 kB / 483.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-06/0.4364, allocations: 25.7 kB / 483.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.4365, allocations: 91.52 kB / 483.2 MB, free: 9.133 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.4365, allocations: 8 kB / 483.2 MB, free: 9.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-06/0.4365, allocations: 2.516 kB / 483.2 MB, free: 9.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.4365, allocations: 310.8 kB / 483.5 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-06/0.4366, allocations: 2.312 kB / 483.5 MB, free: 8.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-06/0.4366, allocations: 17.7 kB / 483.5 MB, free: 8.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.627e-05/0.4366, allocations: 6.438 kB / 483.6 MB, free: 8.785 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4366, allocations: 0 / 483.6 MB, free: 8.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.59e-05/0.4367, allocations: 38.8 kB / 483.6 MB, free: 8.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.4367, allocations: 8.625 kB / 483.6 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4367, allocations: 0 / 483.6 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.4367, allocations: 0 / 483.6 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.112e-05/0.4368, allocations: 9.266 kB / 483.6 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4368, allocations: 3.984 kB / 483.6 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.4368, allocations: 0 / 483.6 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.4368, allocations: 4 kB / 483.6 MB, free: 8.719 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): 2 * 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 4.64e-05/0.4369, allocations: 184.3 kB / 483.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.4369, allocations: 104.5 kB / 483.9 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.4369, allocations: 108.7 kB / 484 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.437, allocations: 177.3 kB / 484.2 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.41e-05/0.437, allocations: 188.1 kB / 484.4 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/0.437, allocations: 176.3 kB / 484.5 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.4371, allocations: 388.4 kB / 484.9 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.4372, allocations: 105 kB / 485 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.4372, allocations: 101 kB / 485.1 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-05/0.4372, allocations: 185.1 kB / 485.3 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.4372, allocations: 180.5 kB / 485.5 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.426e-05/0.4373, allocations: 184.3 kB / 485.6 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-05/0.4373, allocations: 180.2 kB / 485.8 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.418e-05/0.4374, allocations: 311 kB / 486.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.4374, allocations: 188.5 kB / 486.3 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.4375, allocations: 184.2 kB / 486.5 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.794e-05/0.4375, allocations: 105 kB / 486.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.4376, allocations: 180.2 kB / 486.8 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.4376, allocations: 101 kB / 486.9 MB, free: 5.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.09e-05/0.4376, allocations: 82.72 kB / 487 MB, free: 5.195 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4376, allocations: 1.641 kB / 487 MB, free: 5.195 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.4378, allocations: 4 kB / 487 MB, free: 5.191 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 () * 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 7.24e-05/0.4379, allocations: 170.5 kB / 487.1 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 4.178e-05/0.438, allocations: 4.75 kB / 487.1 MB, free: 5.012 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.438, allocations: 0 / 487.1 MB, free: 5.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.438, allocations: 7.922 kB / 487.1 MB, free: 5.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.4382, allocations: 0.5255 MB / 487.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001341/0.4383, allocations: 124.3 kB / 487.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.098e-05/0.4384, allocations: 0.6773 MB / 488.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.1e-05/0.4385, allocations: 0 / 488.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.4385, allocations: 7.438 kB / 488.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4385, allocations: 0 / 488.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of Templates: time 0.001479/0.44, allocations: 174.1 kB / 488.6 MB, free: 3.484 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1)