Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001808/0.001807, allocations: 175.7 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.0559/0.0559, allocations: 8.774 MB / 25.64 MB, free: 3.777 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.69/1.69, 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.001012/0.001012, allocations: 98.09 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004194, allocations: 12 kB / 344.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2337, allocations: 49.72 MB / 394.5 MB, free: 36.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09322/0.3269, allocations: 75.58 MB / 470.1 MB, free: 9.059 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.3272, allocations: 59.97 kB / 470.2 MB, free: 9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001048/0.3282, allocations: 0.4988 MB / 470.7 MB, free: 8.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3283, allocations: 0 / 470.7 MB, free: 8.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.3283, allocations: 0 / 470.7 MB, free: 8.5 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.0002818/0.3286, allocations: 323.5 kB / 471 MB, free: 8.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3286, allocations: 12.03 kB / 471 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.3287, allocations: 4.844 kB / 471 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.3288, allocations: 164.4 kB / 471.1 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3288, allocations: 4.312 kB / 471.1 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3288, allocations: 384 / 471.1 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.644e-05/0.3289, allocations: 38.25 kB / 471.2 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3289, allocations: 192 / 471.2 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.3289, allocations: 3.938 kB / 471.2 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.329, allocations: 4 kB / 471.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.249e-05/0.329, allocations: 7.938 kB / 471.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.3292, allocations: 157.7 kB / 471.4 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.3292, allocations: 34.61 kB / 471.4 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.3293, allocations: 12.86 kB / 471.4 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.3293, allocations: 0 / 471.4 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.3293, allocations: 34.56 kB / 471.4 MB, free: 7.551 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3293, allocations: 0 / 471.4 MB, free: 7.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001521/0.3295, allocations: 57.66 kB / 471.5 MB, free: 7.488 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3295, allocations: 51.41 kB / 471.5 MB, free: 7.426 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/0.3296, allocations: 109.4 kB / 471.6 MB, free: 7.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.3296, allocations: 25.7 kB / 471.7 MB, free: 7.281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.3297, allocations: 80.14 kB / 471.8 MB, free: 7.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.3297, allocations: 19.75 kB / 471.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.3297, allocations: 0 / 471.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3298, allocations: 310.8 kB / 472.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.3298, allocations: 15.98 kB / 472.1 MB, free: 6.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.3299, allocations: 4 kB / 472.1 MB, free: 6.848 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.3299, allocations: 20.8 kB / 472.1 MB, free: 6.824 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3299, allocations: 0 / 472.1 MB, free: 6.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.394e-05/0.33, allocations: 45.69 kB / 472.2 MB, free: 6.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.33, allocations: 4 kB / 472.2 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.33, allocations: 3.938 kB / 472.2 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.33, allocations: 0 / 472.2 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.3301, allocations: 15.94 kB / 472.2 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3301, allocations: 0 / 472.2 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.3302, allocations: 7.984 kB / 472.2 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.3302, allocations: 4 kB / 472.2 MB, free: 6.738 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 (4): * Single equations (assignments): 4 * 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 6.194e-05/0.3303, allocations: 113.8 kB / 472.3 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.3303, allocations: 0 / 472.3 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.3303, allocations: 11.44 kB / 472.3 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3303, allocations: 3.938 kB / 472.3 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3303, allocations: 0 / 472.3 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3303, allocations: 0 / 472.3 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.3304, allocations: 157.6 kB / 472.5 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3304, allocations: 7.938 kB / 472.5 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.3305, allocations: 8 kB / 472.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3305, allocations: 0 / 472.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3305, allocations: 7.922 kB / 472.5 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3306, allocations: 0 / 472.5 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3306, allocations: 4 kB / 472.5 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.3307, allocations: 73.16 kB / 472.6 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.3307, allocations: 77.11 kB / 472.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3308, allocations: 8 kB / 472.7 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.3308, allocations: 4 kB / 472.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.3308, allocations: 0 / 472.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3308, allocations: 7.984 kB / 472.7 MB, free: 6.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.911e-05/0.3308, allocations: 75.28 kB / 472.7 MB, free: 6.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3308, allocations: 0 / 472.7 MB, free: 6.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.3311, allocations: 12 kB / 472.8 MB, free: 6.074 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 8.971e-05/0.3312, allocations: 95.19 kB / 472.8 MB, free: 5.973 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.851e-05/0.3312, allocations: 24.5 kB / 472.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.3312, allocations: 0 / 472.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.3313, allocations: 4 kB / 472.9 MB, free: 5.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.3314, allocations: 7.938 kB / 472.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.3318, allocations: 224.4 kB / 473.1 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.332, allocations: 0.6731 MB / 473.8 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.799e-05/0.332, allocations: 4 kB / 473.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.3321, allocations: 7.438 kB / 473.8 MB, free: 4.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3321, allocations: 0 / 473.8 MB, free: 4.98 MB / 346.7 MB Notification: Performance of Templates: time 0.001679/0.3338, allocations: 232.4 kB / 474 MB, free: 4.754 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical3.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1)