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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 107.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 246.8 MB, free: 13.67 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 195.7 kB / 302 MB, free: 9.172 MB / 238.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04198/0.04198, allocations: 8.919 MB / 366 MB, free: 9.328 MB / 302.1 MB [Timeout remaining time 90] 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002383/0.002383, allocations: 82.58 kB / 489.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08961/0.09199, allocations: 54.42 MB / 0.5314 GB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002958/0.09495, allocations: 1.799 MB / 0.5332 GB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000772/0.09572, allocations: 471.7 kB / 0.5336 GB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.0958, allocations: 0 / 0.5336 GB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.09591, allocations: 27.72 kB / 0.5337 GB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.09598, allocations: 31.7 kB / 0.5337 GB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.09611, allocations: 31.97 kB / 0.5337 GB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.09628, allocations: 119.5 kB / 0.5338 GB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.0964, allocations: 33.09 kB / 0.5339 GB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.09646, allocations: 43.8 kB / 0.5339 GB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.09655, allocations: 51.78 kB / 0.5339 GB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.09658, allocations: 15.94 kB / 0.534 GB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/0.0966, allocations: 8 kB / 0.534 GB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.09663, allocations: 27.89 kB / 0.534 GB, free: 12.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/0.0967, allocations: 55.73 kB / 0.5341 GB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.09688, allocations: 123.5 kB / 0.5342 GB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.09688, allocations: 4 kB / 0.5342 GB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09688, allocations: 3.938 kB / 0.5342 GB, free: 12.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.09689, allocations: 0 / 0.5342 GB, free: 12.06 MB / 350.1 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.0005521/0.09744, allocations: 407 kB / 0.5346 GB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.09747, allocations: 12.03 kB / 0.5346 GB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.09752, allocations: 12.84 kB / 0.5346 GB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.09777, allocations: 200.2 kB / 0.5348 GB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.09778, allocations: 8.375 kB / 0.5348 GB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.09781, allocations: 16.31 kB / 0.5348 GB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.09802, allocations: 109.9 kB / 0.5349 GB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.09803, allocations: 0 / 0.5349 GB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.09804, allocations: 4 kB / 0.5349 GB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.09805, allocations: 4 kB / 0.5349 GB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.09817, allocations: 63.91 kB / 0.535 GB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/0.09894, allocations: 0.4944 MB / 0.5355 GB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.712e-05/0.09904, allocations: 42.56 kB / 0.5355 GB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.09908, allocations: 20.84 kB / 0.5355 GB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.603e-06/0.09908, allocations: 0 / 0.5355 GB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.09911, allocations: 30.56 kB / 0.5355 GB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.09911, allocations: 4 kB / 0.5356 GB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001785/0.09929, allocations: 69.67 kB / 0.5356 GB, free: 10.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.09932, allocations: 51.41 kB / 0.5357 GB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.09946, allocations: 144.1 kB / 0.5358 GB, free: 10.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.09948, allocations: 25.7 kB / 0.5358 GB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.017e-05/0.09956, allocations: 120.1 kB / 0.5359 GB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.09957, allocations: 19.84 kB / 0.536 GB, free: 10.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.09961, allocations: 17.72 kB / 0.536 GB, free: 9.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.09975, allocations: 326.8 kB / 0.5363 GB, free: 9.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.09978, allocations: 12 kB / 0.5363 GB, free: 9.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.624e-05/0.09983, allocations: 34.56 kB / 0.5363 GB, free: 9.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.967e-05/0.09991, allocations: 46.52 kB / 0.5364 GB, free: 9.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.09991, allocations: 0 / 0.5364 GB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001303/0.1, allocations: 85.58 kB / 0.5365 GB, free: 9.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1, allocations: 7.938 kB / 0.5365 GB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1001, allocations: 4 kB / 0.5365 GB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1001, allocations: 3.984 kB / 0.5365 GB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.1002, allocations: 12 kB / 0.5365 GB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1002, allocations: 0 / 0.5365 GB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.1002, allocations: 7.953 kB / 0.5365 GB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1002, allocations: 4 kB / 0.5365 GB, free: 9.422 MB / 350.1 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 9.474e-05/0.1003, allocations: 129.7 kB / 0.5366 GB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1004, allocations: 12.02 kB / 0.5366 GB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.1004, allocations: 8.234 kB / 0.5366 GB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1004, allocations: 0 / 0.5366 GB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1004, allocations: 64 / 0.5366 GB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1004, allocations: 8 kB / 0.5367 GB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1006, allocations: 193.6 kB / 0.5368 GB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1006, allocations: 0 / 0.5368 GB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/0.1007, allocations: 12 kB / 0.5368 GB, free: 9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1007, allocations: 3.938 kB / 0.5369 GB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1007, allocations: 0 / 0.5369 GB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1007, allocations: 4 kB / 0.5369 GB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1007, allocations: 0 / 0.5369 GB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.1009, allocations: 171.4 kB / 0.537 GB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.1009, allocations: 93.03 kB / 0.5371 GB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1009, allocations: 0 / 0.5371 GB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.101, allocations: 4 kB / 0.5371 GB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.101, allocations: 3.984 kB / 0.5371 GB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.101, allocations: 4.062 kB / 0.5371 GB, free: 8.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.1011, allocations: 107.3 kB / 0.5372 GB, free: 8.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1011, allocations: 0 / 0.5372 GB, free: 8.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1014, allocations: 20 kB / 0.5372 GB, free: 8.562 MB / 350.1 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.797e-05/0.1015, allocations: 91.25 kB / 0.5373 GB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.1016, allocations: 39.92 kB / 0.5374 GB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1016, allocations: 0 / 0.5374 GB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.1016, allocations: 12 kB / 0.5374 GB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.1019, allocations: 18.39 kB / 0.5374 GB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.1024, allocations: 316.7 kB / 0.5377 GB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1028, allocations: 0.7002 MB / 0.5384 GB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.1028, allocations: 11.44 kB / 0.5384 GB, free: 7.316 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1028, allocations: 0 / 0.5384 GB, free: 7.316 MB / 350.1 MB Notification: Performance of Templates: time 0.002762/0.1056, allocations: 1.114 MB / 0.5395 GB, free: 6.199 MB / 350.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 480]