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.001058/0.001058, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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 1.119/1.119, allocations: 177.1 MB / 200.5 MB, free: 5.551 MB / 186.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.001381/0.001381, allocations: 164.3 kB / 257 MB, free: 13.05 MB / 250.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.02418/0.02418, allocations: 6.661 MB / 320.1 MB, free: 26.6 MB / 266.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 3.547e-06/3.547e-06, allocations: 3.938 kB / 391.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.144e-05/5.498e-05, allocations: 5.828 kB / 391.6 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003843/0.003898, allocations: 1.847 MB / 393.5 MB, free: 1.129 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.004848, allocations: 494.7 kB / 394 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.004955, allocations: 0 / 394 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.005092, allocations: 19.84 kB / 394 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.782e-05/0.005179, allocations: 27.66 kB / 394 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.005345, allocations: 27.95 kB / 394 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.005544, allocations: 127.3 kB / 394.2 MB, free: 452 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.005698, allocations: 37.22 kB / 394.2 MB, free: 416 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.005812, allocations: 67.88 kB / 394.3 MB, free: 348 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.005913, allocations: 43.83 kB / 394.3 MB, free: 304 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.005944, allocations: 8 kB / 394.3 MB, free: 296 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.99e-05/0.005964, allocations: 12 kB / 394.3 MB, free: 284 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.005997, allocations: 23.92 kB / 394.4 MB, free: 260 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.006052, allocations: 39.91 kB / 394.4 MB, free: 220 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.006238, allocations: 79.67 kB / 394.5 MB, free: 140 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.006241, allocations: 0 / 394.5 MB, free: 140 kB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006242, allocations: 0 / 394.5 MB, free: 140 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.006247, allocations: 0 / 394.5 MB, free: 140 kB / 314.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.0005875/0.006835, allocations: 440.2 kB / 394.9 MB, free: 15.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.006885, allocations: 16.03 kB / 394.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.006955, allocations: 20.89 kB / 394.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.007178, allocations: 144.3 kB / 395.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.007194, allocations: 8.375 kB / 395.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.007227, allocations: 12.38 kB / 395.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.007437, allocations: 119.8 kB / 395.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.007446, allocations: 192 / 395.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.007462, allocations: 384 / 395.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.007476, allocations: 11.92 kB / 395.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.007572, allocations: 39.91 kB / 395.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.008318, allocations: 469.7 kB / 395.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.008435, allocations: 43.06 kB / 395.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.008471, allocations: 19.77 kB / 395.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.008481, allocations: 0 / 395.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.008512, allocations: 37.33 kB / 395.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.008514, allocations: 0 / 395.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001948/0.008708, allocations: 65.62 kB / 395.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.008742, allocations: 51.41 kB / 395.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.008878, allocations: 193.1 kB / 396.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.008891, allocations: 25.7 kB / 396.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.008983, allocations: 174.5 kB / 396.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.008998, allocations: 11.89 kB / 396.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.009041, allocations: 27.38 kB / 396.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.009189, allocations: 0.4884 MB / 396.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.009214, allocations: 4 kB / 396.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.311e-05/0.009267, allocations: 47.03 kB / 396.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.125e-05/0.009338, allocations: 51 kB / 397 MB, free: 13.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.009341, allocations: 0 / 397 MB, free: 13.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001284/0.009469, allocations: 73.58 kB / 397 MB, free: 13.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.009486, allocations: 7.938 kB / 397 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.009493, allocations: 4 kB / 397 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.009509, allocations: 0 / 397 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.009612, allocations: 15.98 kB / 397.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.009619, allocations: 3.938 kB / 397.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.009659, allocations: 12 kB / 397.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.009667, allocations: 4 kB / 397.1 MB, free: 13.3 MB / 330.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 8.625e-05/0.009753, allocations: 156.6 kB / 397.2 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.009785, allocations: 11.89 kB / 397.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.009813, allocations: 12.06 kB / 397.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.009816, allocations: 4 kB / 397.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.009821, allocations: 0 / 397.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.009824, allocations: 3.938 kB / 397.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.009997, allocations: 140.6 kB / 397.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.009998, allocations: 0 / 397.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.01007, allocations: 15.98 kB / 397.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01007, allocations: 0 / 397.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01008, allocations: 3.938 kB / 397.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01009, allocations: 0 / 397.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01009, allocations: 0 / 397.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.01028, allocations: 207.8 kB / 397.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.0103, allocations: 15.94 kB / 397.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.01032, allocations: 3.938 kB / 397.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.0104, allocations: 4.234 kB / 397.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.01041, allocations: 0 / 397.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01042, allocations: 32 / 397.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.699e-05/0.0105, allocations: 147.2 kB / 397.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0105, allocations: 0 / 397.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.01078, allocations: 23.94 kB / 397.8 MB, free: 12.49 MB / 330.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 0.0001027/0.01089, allocations: 99.23 kB / 397.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.011, allocations: 35.61 kB / 397.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.011, allocations: 0 / 397.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.01103, allocations: 15.69 kB / 398 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.01132, allocations: 8.125 kB / 398 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/0.01211, allocations: 261.6 kB / 398.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.293e-05/0.01216, allocations: 63.34 kB / 398.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.9e-05/0.0122, allocations: 11.86 kB / 398.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.01223, allocations: 12.5 kB / 398.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01223, allocations: 0 / 398.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of Templates: time 0.003182/0.01542, allocations: 0.6204 MB / 398.9 MB, free: 11.32 MB / 330.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: 3.119180012959987]