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/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.00234/0.00234, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.62/1.62, allocations: 177.1 MB / 199.7 MB, free: 5.812 MB / 186.7 MB " [Timeout remaining time 178] 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.002177/0.002177, allocations: 159.4 kB / 256.3 MB, free: 13.17 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.04192/0.04192, allocations: 6.654 MB / 319.4 MB, free: 26.57 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.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 390.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.91e-05, allocations: 2.312 kB / 390.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.00321/0.003239, allocations: 1.843 MB / 392.8 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009141/0.004153, allocations: 490.7 kB / 393.2 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.00423, allocations: 4 kB / 393.2 MB, free: 0.625 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.004336, allocations: 11.86 kB / 393.2 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.00442, allocations: 35.66 kB / 393.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.004547, allocations: 27.95 kB / 393.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.004744, allocations: 123.4 kB / 393.4 MB, free: 440 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.00486, allocations: 29.28 kB / 393.5 MB, free: 412 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.004975, allocations: 75.81 kB / 393.5 MB, free: 336 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.005073, allocations: 39.89 kB / 393.6 MB, free: 296 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.0051, allocations: 8 kB / 393.6 MB, free: 288 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.742e-05/0.005127, allocations: 12 kB / 393.6 MB, free: 276 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.005157, allocations: 19.92 kB / 393.6 MB, free: 256 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.005219, allocations: 43.84 kB / 393.7 MB, free: 212 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.005419, allocations: 123.6 kB / 393.8 MB, free: 88 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.005421, allocations: 0 / 393.8 MB, free: 88 kB / 314.7 MB Notification: Performance of FrontEnd: time 5.52e-07/0.005421, allocations: 0 / 393.8 MB, free: 88 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.005426, allocations: 4 kB / 393.8 MB, free: 84 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.0006429/0.006069, allocations: 443.8 kB / 394.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.006106, allocations: 19.95 kB / 394.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.006167, allocations: 20.89 kB / 394.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.006378, allocations: 132.5 kB / 394.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.006391, allocations: 4.375 kB / 394.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.006419, allocations: 16.38 kB / 394.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.006654, allocations: 131.8 kB / 394.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.006663, allocations: 4.188 kB / 394.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.006678, allocations: 4.375 kB / 394.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.006687, allocations: 11.94 kB / 394.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.006816, allocations: 59.91 kB / 394.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/0.007658, allocations: 489.7 kB / 395.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.007768, allocations: 51 kB / 395.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.007813, allocations: 23.77 kB / 395.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.007825, allocations: 0 / 395.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.00786, allocations: 45.33 kB / 395.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.007861, allocations: 0 / 395.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001928/0.008054, allocations: 61.81 kB / 395.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.0081, allocations: 55.41 kB / 395.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.008282, allocations: 197.9 kB / 395.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.008302, allocations: 25.7 kB / 395.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.008431, allocations: 170.6 kB / 395.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.008453, allocations: 19.84 kB / 395.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.008504, allocations: 27.38 kB / 395.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002593/0.008764, allocations: 0.4923 MB / 396.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.362e-05/0.008797, allocations: 12 kB / 396.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-05/0.008859, allocations: 51.03 kB / 396.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.646e-05/0.008946, allocations: 58.94 kB / 396.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.008947, allocations: 0 / 396.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001329/0.00908, allocations: 77.62 kB / 396.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.009099, allocations: 11.94 kB / 396.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.009103, allocations: 0 / 396.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.009116, allocations: 0 / 396.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.009213, allocations: 15.98 kB / 396.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.00922, allocations: 8.062 kB / 396.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.009269, allocations: 11.89 kB / 396.5 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.009276, allocations: 4 kB / 396.5 MB, free: 13.13 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 0.0002534/0.00953, allocations: 164.5 kB / 396.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.009562, allocations: 11.89 kB / 396.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.009592, allocations: 8 kB / 396.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.009598, allocations: 4 kB / 396.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.009601, allocations: 0 / 396.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.009605, allocations: 3.984 kB / 396.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.009804, allocations: 148.6 kB / 396.8 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.009805, allocations: 4 kB / 396.8 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.326e-05/0.009878, allocations: 12.06 kB / 396.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.00988, allocations: 0 / 396.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.009894, allocations: 7.938 kB / 396.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.009896, allocations: 0 / 396.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009897, allocations: 0 / 396.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.01014, allocations: 219.8 kB / 397.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.01016, allocations: 4 kB / 397.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.01018, allocations: 3.938 kB / 397.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.01027, allocations: 4 kB / 397.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.01028, allocations: 4.031 kB / 397.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.0103, allocations: 11.98 kB / 397.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.0104, allocations: 142.7 kB / 397.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0104, allocations: 0 / 397.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.01063, allocations: 31.89 kB / 397.3 MB, free: 12.29 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.0001017/0.01074, allocations: 91.25 kB / 397.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.01086, allocations: 43.61 kB / 397.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01086, allocations: 0 / 397.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.788e-05/0.01089, allocations: 15.81 kB / 397.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01113, allocations: 19.92 kB / 397.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.01167, allocations: 261.6 kB / 397.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.103e-05/0.01176, allocations: 88.31 kB / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.0118, allocations: 7.859 kB / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.01182, allocations: 12.5 kB / 397.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01182, allocations: 0 / 397.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of Templates: time 0.003411/0.01524, allocations: 0.6133 MB / 398.4 MB, free: 11.09 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9123735290486366]