Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") translateModel(HanserModelica.VariablesTypes.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002433/0.002433, allocations: 183.8 kB / 7.459 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03977/0.03977, allocations: 8.708 MB / 16.58 MB, free: 440 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.4 MB / 240.5 MB, free: 8.148 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.0008881/0.0008882, allocations: 103 kB / 293.5 MB, free: 5.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.613e-06, allocations: 0 / 352.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.229, allocations: 52.55 MB / 404.6 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09375/0.3227, allocations: 76.43 MB / 481 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.323, allocations: 55.97 kB / 481.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.005169/0.3282, allocations: 1.244 MB / 482.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3282, allocations: 1.656 kB / 482.3 MB, free: 12.93 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.0003359/0.3286, allocations: 384.4 kB / 482.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3286, allocations: 8.219 kB / 482.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.281e-05/0.3287, allocations: 88.06 kB / 482.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3289, allocations: 239.5 kB / 483 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.3289, allocations: 152 kB / 483.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.329, allocations: 154.6 kB / 483.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.121e-05/0.3291, allocations: 160.4 kB / 483.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.742e-05/0.3291, allocations: 105 kB / 483.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.3291, allocations: 76.28 kB / 483.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.3292, allocations: 154.6 kB / 483.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/0.3293, allocations: 155.2 kB / 484 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.3296, allocations: 447.9 kB / 484.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/0.3297, allocations: 170.2 kB / 484.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.3297, allocations: 85.14 kB / 484.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3297, allocations: 76.06 kB / 484.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.3298, allocations: 110.6 kB / 484.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.3298, allocations: 2.812 kB / 484.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.174e-05/0.3299, allocations: 37.55 kB / 484.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.3299, allocations: 55.34 kB / 484.9 MB, free: 10.16 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3301, allocations: 132.4 kB / 485.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3301, allocations: 29.7 kB / 485.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.3301, allocations: 88.05 kB / 485.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.3301, allocations: 1.719 kB / 485.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.3301, allocations: 0 / 485.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.3302, allocations: 322.8 kB / 485.5 MB, free: 9.574 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.3303, allocations: 8 kB / 485.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-05/0.3303, allocations: 69.11 kB / 485.6 MB, free: 9.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/0.3304, allocations: 15.98 kB / 485.6 MB, free: 9.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3304, allocations: 0 / 485.6 MB, free: 9.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004237/0.3308, allocations: 289.4 kB / 485.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3309, allocations: 4 kB / 485.9 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3309, allocations: 0 / 485.9 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/0.3311, allocations: 45.88 kB / 485.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.3313, allocations: 31.92 kB / 486 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.3345, allocations: 4.932 MB / 490.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.3346, allocations: 7.844 kB / 490.9 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.3346, allocations: 4 kB / 490.9 MB, free: 3.648 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: e:VARIABLE(fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.3348, allocations: 184.2 kB / 491.1 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.3349, allocations: 108.9 kB / 491.2 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.3349, allocations: 117 kB / 491.3 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-05/0.335, allocations: 184.1 kB / 491.5 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.23e-05/0.3351, allocations: 184.3 kB / 491.7 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.863e-05/0.3351, allocations: 180.2 kB / 491.8 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.3353, allocations: 397.7 kB / 492.2 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-05/0.3354, allocations: 105 kB / 492.3 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.3354, allocations: 109 kB / 492.4 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.755e-05/0.3354, allocations: 180.2 kB / 492.6 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.3355, allocations: 176.3 kB / 492.8 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.827e-05/0.3356, allocations: 176.3 kB / 493 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.305e-05/0.3356, allocations: 184.2 kB / 493.1 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001167/0.3357, allocations: 311.7 kB / 493.4 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.3358, allocations: 190.9 kB / 493.6 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.3359, allocations: 180.3 kB / 493.8 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.336, allocations: 105 kB / 493.9 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.336, allocations: 192 kB / 494.1 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.3361, allocations: 101 kB / 494.2 MB, free: 148 kB / 362.7 MB Notification: Performance of sort global known variables: time 6.313e-05/0.3361, allocations: 111.2 kB / 494.3 MB, free: 36 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.3364, allocations: 12 kB / 494.3 MB, free: 24 kB / 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 () * 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.0001257/0.3365, allocations: 172.2 kB / 494.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006635/0.3372, allocations: 305.2 kB / 494.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3372, allocations: 4 kB / 494.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.3372, allocations: 0 / 494.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3375, allocations: 0.5265 MB / 495.3 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.3378, allocations: 163.3 kB / 495.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.338, allocations: 0.7036 MB / 496.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.338, allocations: 0 / 496.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of Templates: time 0.002535/0.3406, allocations: 0.6326 MB / 496.8 MB, free: 13.44 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.sim & ./HanserModelica_HanserModelica.VariablesTypes.InitializationParameters -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)