Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007356/0.0007356, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.00188, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9146/0.9146, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1678/1.082, allocations: 53.65 MB / 241.9 MB, free: 2.727 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008223/0.0008223, allocations: 149.3 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001158/0.001981, allocations: 494.5 kB / 243.2 MB, free: 1.406 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02317/0.02317, allocations: 6.647 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004874/0.02804, allocations: 2.662 MB / 253.3 MB, free: 7.566 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 254.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.62e-05, allocations: 4.422 kB / 254.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.00323/0.003257, allocations: 1.901 MB / 256.4 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000857/0.004114, allocations: 494.6 kB / 256.9 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.004202, allocations: 0 / 256.9 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.129e-05/0.004283, allocations: 23.78 kB / 257 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.238e-05/0.004376, allocations: 31.7 kB / 257 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.004488, allocations: 23.91 kB / 257 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.004667, allocations: 127.3 kB / 257.1 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.004792, allocations: 33.94 kB / 257.2 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.004944, allocations: 83.86 kB / 257.2 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.005045, allocations: 39.84 kB / 257.3 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.005076, allocations: 8 kB / 257.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.056e-05/0.005096, allocations: 12 kB / 257.3 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.005123, allocations: 15.94 kB / 257.3 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.189e-05/0.005175, allocations: 31.94 kB / 257.4 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.00535, allocations: 75.69 kB / 257.4 MB, free: 3.406 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.939e-05/0.005369, allocations: 4 kB / 257.4 MB, free: 3.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.005371, allocations: 0 / 257.4 MB, free: 3.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.005389, allocations: 0 / 257.4 MB, free: 3.402 MB / 250.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.0005409/0.00593, allocations: 348.1 kB / 257.8 MB, free: 3.039 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.005968, allocations: 8.031 kB / 257.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.006016, allocations: 16.94 kB / 257.8 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.006205, allocations: 133.5 kB / 257.9 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.00622, allocations: 8.375 kB / 257.9 MB, free: 2.852 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.006253, allocations: 12.38 kB / 257.9 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.00641, allocations: 101 kB / 258 MB, free: 2.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.006419, allocations: 192 / 258 MB, free: 2.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.006432, allocations: 4.375 kB / 258.1 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.006441, allocations: 7.938 kB / 258.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.65e-05/0.006508, allocations: 37.39 kB / 258.1 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.007134, allocations: 334.3 kB / 258.4 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.256e-05/0.007227, allocations: 34.5 kB / 258.5 MB, free: 2.285 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.00725, allocations: 16.86 kB / 258.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.00726, allocations: 8.016 kB / 258.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.007292, allocations: 34.56 kB / 258.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.007294, allocations: 0 / 258.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001488/0.007443, allocations: 53.75 kB / 258.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.007478, allocations: 51.41 kB / 258.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.007581, allocations: 130.7 kB / 258.7 MB, free: 1.953 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.007596, allocations: 29.7 kB / 258.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.007666, allocations: 119.8 kB / 258.9 MB, free: 1.797 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.007682, allocations: 11.91 kB / 258.9 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.007721, allocations: 33.62 kB / 258.9 MB, free: 1.746 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.007819, allocations: 310.8 kB / 259.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.007833, allocations: 4 kB / 259.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.007866, allocations: 34.55 kB / 259.3 MB, free: 1.387 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.007917, allocations: 42.59 kB / 259.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007919, allocations: 0 / 259.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.672e-05/0.008015, allocations: 61.56 kB / 259.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.008031, allocations: 4 kB / 259.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.008037, allocations: 4 kB / 259.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.008049, allocations: 7.922 kB / 259.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.008207, allocations: 16.06 kB / 259.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.00821, allocations: 4 kB / 259.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.008247, allocations: 11.89 kB / 259.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.008251, allocations: 0 / 259.4 MB, free: 1.223 MB / 250.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/0.008322, allocations: 117.8 kB / 259.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.008348, allocations: 4 kB / 259.5 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.00837, allocations: 11.94 kB / 259.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.008373, allocations: 0 / 259.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.008374, allocations: 0 / 259.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.008378, allocations: 4 kB / 259.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.008515, allocations: 89.78 kB / 259.6 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.008517, allocations: 4 kB / 259.6 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-05/0.008616, allocations: 12 kB / 259.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.008632, allocations: 3.953 kB / 259.7 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.008637, allocations: 7.984 kB / 259.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.008647, allocations: 3.938 kB / 259.7 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.008649, allocations: 3.938 kB / 259.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.008651, allocations: 0 / 259.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.008786, allocations: 147.5 kB / 259.8 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.008797, allocations: 4.062 kB / 259.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.008849, allocations: 8.031 kB / 259.8 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.008861, allocations: 3.938 kB / 259.8 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.008865, allocations: 0 / 259.8 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.409e-05/0.008889, allocations: 36.52 kB / 259.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008889, allocations: 0 / 259.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001342/0.009024, allocations: 23.89 kB / 259.9 MB, free: 0.707 MB / 250.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.226e-05/0.009106, allocations: 76.42 kB / 260 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.014e-05/0.009176, allocations: 28.84 kB / 260 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.009182, allocations: 0 / 260 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.009193, allocations: 20.92 kB / 260 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.009337, allocations: 11.98 kB / 260 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.01046, allocations: 259.8 kB / 260.3 MB, free: 284 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.0105, allocations: 63.34 kB / 260.4 MB, free: 200 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.717e-05/0.01054, allocations: 7.984 kB / 260.4 MB, free: 192 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.0106, allocations: 63.36 kB / 260.4 MB, free: 128 kB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0106, allocations: 0 / 260.4 MB, free: 128 kB / 250.7 MB Notification: Performance of Templates: time 0.002345/0.01294, allocations: 0.7534 MB / 261.2 MB, free: 15.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.589317563921213]