Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04234/0.04234, allocations: 8.716 MB / 16.79 MB, free: 3.387 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.438/1.438, allocations: 221.5 MB / 240.9 MB, free: 13.19 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.0009619/0.000962, allocations: 93.23 kB / 293.9 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.546e-05, allocations: 4 kB / 352.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1096, allocations: 52.55 MB / 405.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4396, allocations: 78.01 MB / 483.2 MB, free: 9.297 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001612/0.4398, allocations: 64.61 kB / 483.3 MB, free: 9.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004619/0.4445, allocations: 2.141 MB / 485.4 MB, free: 7.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4445, allocations: 0 / 485.4 MB, free: 7.488 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4445, allocations: 7.938 kB / 485.4 MB, free: 7.48 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0002985/0.4448, allocations: 376.6 kB / 485.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.4448, allocations: 15.98 kB / 485.8 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.4449, allocations: 19.25 kB / 485.8 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.445, allocations: 180.7 kB / 486 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.4451, allocations: 4 kB / 486 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.4451, allocations: 11.94 kB / 486 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001084/0.4452, allocations: 56.42 kB / 486.1 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.4453, allocations: 84.53 kB / 486.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.4454, allocations: 0 / 486.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4454, allocations: 0 / 486.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4454, allocations: 3.984 kB / 486.1 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.4459, allocations: 474.4 kB / 486.6 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.781e-05/0.446, allocations: 40.44 kB / 486.6 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.4461, allocations: 19.05 kB / 486.7 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.4461, allocations: 0 / 486.7 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.4461, allocations: 30.56 kB / 486.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.4461, allocations: 0 / 486.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001283/0.4462, allocations: 57.61 kB / 486.7 MB, free: 6.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.4463, allocations: 59.34 kB / 486.8 MB, free: 6.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.4464, allocations: 112.5 kB / 486.9 MB, free: 5.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.4464, allocations: 25.7 kB / 486.9 MB, free: 5.887 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.4464, allocations: 128.2 kB / 487.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.4464, allocations: 7.812 kB / 487.1 MB, free: 5.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.4464, allocations: 0 / 487.1 MB, free: 5.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.4465, allocations: 321.9 kB / 487.4 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.4465, allocations: 11.25 kB / 487.4 MB, free: 5.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.758e-05/0.4465, allocations: 32.95 kB / 487.4 MB, free: 5.395 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.731e-05/0.4466, allocations: 14.36 kB / 487.4 MB, free: 5.387 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4466, allocations: 4 kB / 487.4 MB, free: 5.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.208e-05/0.4467, allocations: 66.58 kB / 487.5 MB, free: 5.324 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4467, allocations: 10.02 kB / 487.5 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4467, allocations: 4 kB / 487.5 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4467, allocations: 0 / 487.5 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.4468, allocations: 20 kB / 487.5 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4468, allocations: 8.609 kB / 487.6 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.4469, allocations: 7.844 kB / 487.6 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.4469, allocations: 4 kB / 487.6 MB, free: 5.273 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.239e-05/0.4469, allocations: 104.9 kB / 487.7 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.447, allocations: 4 kB / 487.7 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.447, allocations: 11.7 kB / 487.7 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.447, allocations: 1.172 kB / 487.7 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.447, allocations: 0.75 kB / 487.7 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.447, allocations: 7.953 kB / 487.7 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.4471, allocations: 166.8 kB / 487.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4471, allocations: 0 / 487.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.4472, allocations: 8 kB / 487.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4472, allocations: 4 kB / 487.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.4472, allocations: 0 / 487.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.4472, allocations: 0 / 487.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4472, allocations: 0.6562 kB / 487.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.4474, allocations: 169.4 kB / 488 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.4474, allocations: 82.14 kB / 488.1 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.4474, allocations: 0 / 488.1 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.4475, allocations: 4.031 kB / 488.1 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.4475, allocations: 0 / 488.1 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.4475, allocations: 4 kB / 488.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.692e-05/0.4476, allocations: 98.77 kB / 488.2 MB, free: 4.578 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4476, allocations: 0 / 488.2 MB, free: 4.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000217/0.4478, allocations: 23.84 kB / 488.2 MB, free: 4.555 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 8.382e-05/0.4479, allocations: 99.31 kB / 488.3 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.433e-05/0.448, allocations: 33.73 kB / 488.4 MB, free: 4.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.448, allocations: 0 / 488.4 MB, free: 4.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.448, allocations: 8 kB / 488.4 MB, free: 4.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.4482, allocations: 12.55 kB / 488.4 MB, free: 4.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.4485, allocations: 186.1 kB / 488.6 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.4486, allocations: 0.7002 MB / 489.3 MB, free: 3.504 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.4487, allocations: 10.39 kB / 489.3 MB, free: 3.496 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.4487, allocations: 12.28 kB / 489.3 MB, free: 3.484 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4487, allocations: 4 kB / 489.3 MB, free: 3.48 MB / 346.7 MB Notification: Performance of Templates: time 0.002201/0.4509, allocations: 0.5247 MB / 489.8 MB, free: 2.996 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1)