Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.001934/0.001934, allocations: 107.4 kB / 18.19 MB, free: 4.117 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.498/1.498, allocations: 225.6 MB / 246.7 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.001567/0.001567, allocations: 199.7 kB / 302 MB, free: 9.168 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.04546/0.04546, allocations: 8.943 MB / 366 MB, free: 9.316 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.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 83.66 kB / 489.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09451, allocations: 54.42 MB / 0.5314 GB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001767/0.09627, allocations: 0.4969 MB / 0.5319 GB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001735/0.09645, allocations: 27.89 kB / 0.5319 GB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.09647, allocations: 0 / 0.5319 GB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.09649, allocations: 0 / 0.5319 GB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.09653, allocations: 3.938 kB / 0.5319 GB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.55e-05/0.09662, allocations: 7.984 kB / 0.5319 GB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.09668, allocations: 15.94 kB / 0.532 GB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.09673, allocations: 0 / 0.532 GB, free: 14.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.09675, allocations: 11.92 kB / 0.532 GB, free: 14.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.0968, allocations: 4 kB / 0.532 GB, free: 14.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.09682, allocations: 4 kB / 0.532 GB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-06/0.09682, allocations: 0 / 0.532 GB, free: 14.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.09684, allocations: 7.984 kB / 0.532 GB, free: 14.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.09689, allocations: 7.938 kB / 0.532 GB, free: 14.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.591e-05/0.09695, allocations: 11.92 kB / 0.532 GB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09695, allocations: 0 / 0.532 GB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.09695, allocations: 0 / 0.532 GB, free: 14.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.09696, allocations: 0 / 0.532 GB, free: 14.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004136/0.09737, allocations: 327.5 kB / 0.5323 GB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.0974, allocations: 8.031 kB / 0.5323 GB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.09743, allocations: 4.938 kB / 0.5323 GB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.09756, allocations: 176.2 kB / 0.5325 GB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.09757, allocations: 384 / 0.5325 GB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.0976, allocations: 4.375 kB / 0.5325 GB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.663e-05/0.09768, allocations: 42.19 kB / 0.5325 GB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.09769, allocations: 192 / 0.5325 GB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.0977, allocations: 3.938 kB / 0.5325 GB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.09771, allocations: 0 / 0.5325 GB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.288e-05/0.09778, allocations: 4 kB / 0.5325 GB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.09799, allocations: 157.7 kB / 0.5327 GB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.958e-05/0.09807, allocations: 42.55 kB / 0.5327 GB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.0981, allocations: 12.86 kB / 0.5327 GB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.09811, allocations: 0 / 0.5327 GB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.09814, allocations: 34.56 kB / 0.5328 GB, free: 13.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.09814, allocations: 0 / 0.5328 GB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001394/0.09828, allocations: 57.64 kB / 0.5328 GB, free: 13.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.09832, allocations: 51.41 kB / 0.5329 GB, free: 13.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.09839, allocations: 101.8 kB / 0.533 GB, free: 13.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.09841, allocations: 25.7 kB / 0.533 GB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.09845, allocations: 88.14 kB / 0.5331 GB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.09848, allocations: 7.906 kB / 0.5331 GB, free: 12.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.09851, allocations: 17.72 kB / 0.5331 GB, free: 12.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.09866, allocations: 314.8 kB / 0.5334 GB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.09868, allocations: 4 kB / 0.5334 GB, free: 12.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.09871, allocations: 8 kB / 0.5334 GB, free: 12.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.09876, allocations: 20.86 kB / 0.5334 GB, free: 12.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.09876, allocations: 3.938 kB / 0.5334 GB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.59e-05/0.09883, allocations: 49.62 kB / 0.5335 GB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.09885, allocations: 4 kB / 0.5335 GB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.09885, allocations: 7.938 kB / 0.5335 GB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.09886, allocations: 0 / 0.5335 GB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.09895, allocations: 7.984 kB / 0.5335 GB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.09895, allocations: 4 kB / 0.5335 GB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.09897, allocations: 0 / 0.5335 GB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.09897, allocations: 0 / 0.5335 GB, free: 12.52 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/0.09905, allocations: 121.7 kB / 0.5336 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.09906, allocations: 4 kB / 0.5336 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.09908, allocations: 11.44 kB / 0.5337 GB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.09908, allocations: 0 / 0.5337 GB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.09908, allocations: 0 / 0.5337 GB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.09909, allocations: 0 / 0.5337 GB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.09921, allocations: 161.6 kB / 0.5338 GB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.09921, allocations: 4 kB / 0.5338 GB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.09928, allocations: 7.984 kB / 0.5338 GB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.6e-05/0.09929, allocations: 8 kB / 0.5338 GB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.09932, allocations: 3.938 kB / 0.5338 GB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.09932, allocations: 3.938 kB / 0.5338 GB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.09932, allocations: 0 / 0.5338 GB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.09949, allocations: 77.06 kB / 0.5339 GB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.09953, allocations: 77.11 kB / 0.534 GB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.09955, allocations: 7.922 kB / 0.534 GB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.09957, allocations: 4.594 kB / 0.534 GB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.09958, allocations: 4.062 kB / 0.534 GB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.09958, allocations: 0 / 0.534 GB, free: 11.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.305e-05/0.09963, allocations: 87.27 kB / 0.5341 GB, free: 11.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09963, allocations: 0 / 0.5341 GB, free: 11.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.09982, allocations: 4 kB / 0.5341 GB, free: 11.84 MB / 350.1 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 (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.882e-05/0.09991, allocations: 95.19 kB / 0.5342 GB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.173e-05/0.09999, allocations: 19.92 kB / 0.5342 GB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.1, allocations: 4 kB / 0.5342 GB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.1, allocations: 8 kB / 0.5342 GB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.1002, allocations: 2.188 kB / 0.5342 GB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.1006, allocations: 213.9 kB / 0.5344 GB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1009, allocations: 0.6805 MB / 0.5351 GB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.1009, allocations: 7.438 kB / 0.5351 GB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.414e-06/0.1009, allocations: 4 kB / 0.5351 GB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.001991/0.1029, allocations: 481 kB / 0.5355 GB, free: 10.28 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 480]