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.000907/0.000907, allocations: 92.22 kB / 19.65 MB, free: 276 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.009/1.009, allocations: 177.1 MB / 200 MB, free: 5.535 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.00127/0.00127, allocations: 160.3 kB / 256.6 MB, free: 13 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.04143/0.04143, allocations: 6.655 MB / 319.8 MB, free: 11.77 MB / 298.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.443e-06/1.443e-06, allocations: 0 / 391.6 MB, free: 3.805 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.555e-05, allocations: 2.312 kB / 391.6 MB, free: 3.801 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002794/0.002819, allocations: 1.848 MB / 393.5 MB, free: 1.938 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007286/0.003548, allocations: 498.7 kB / 394 MB, free: 1.445 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.003625, allocations: 4 kB / 394 MB, free: 1.441 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.00373, allocations: 15.84 kB / 394 MB, free: 1.426 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.621e-05/0.003797, allocations: 27.72 kB / 394 MB, free: 1.398 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.003927, allocations: 35.89 kB / 394.1 MB, free: 1.363 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.004081, allocations: 131.3 kB / 394.2 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.004203, allocations: 41.2 kB / 394.2 MB, free: 1.195 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.007295, allocations: 67.88 kB / 394.3 MB, free: 1.129 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.835e-05/0.007393, allocations: 35.89 kB / 394.3 MB, free: 1.094 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.007418, allocations: 8 kB / 394.3 MB, free: 1.086 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.007438, allocations: 12 kB / 394.3 MB, free: 1.074 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.007467, allocations: 27.84 kB / 394.4 MB, free: 1.047 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.007512, allocations: 35.92 kB / 394.4 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.007667, allocations: 83.73 kB / 394.5 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.007668, allocations: 4 kB / 394.5 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.007669, allocations: 0 / 394.5 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.007674, allocations: 0 / 394.5 MB, free: 0.9258 MB / 362.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.0004514/0.008125, allocations: 436.2 kB / 394.9 MB, free: 476 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.008164, allocations: 8.031 kB / 394.9 MB, free: 468 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.008216, allocations: 24.84 kB / 394.9 MB, free: 444 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.008398, allocations: 148.4 kB / 395.1 MB, free: 268 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.00841, allocations: 4.375 kB / 395.1 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.008445, allocations: 12.38 kB / 395.1 MB, free: 252 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.008602, allocations: 111.9 kB / 395.2 MB, free: 128 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.008611, allocations: 192 / 395.2 MB, free: 128 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.008624, allocations: 8.312 kB / 395.2 MB, free: 120 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.008633, allocations: 3.938 kB / 395.2 MB, free: 116 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/0.008707, allocations: 43.91 kB / 395.3 MB, free: 72 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005859/0.009293, allocations: 457.8 kB / 395.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.475e-05/0.009378, allocations: 47 kB / 395.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.009405, allocations: 19.77 kB / 395.8 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.009413, allocations: 3.984 kB / 395.8 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.009438, allocations: 45.33 kB / 395.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.009439, allocations: 0 / 395.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001508/0.00959, allocations: 61.58 kB / 395.9 MB, free: 15.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.009615, allocations: 55.34 kB / 395.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.009717, allocations: 185.9 kB / 396.1 MB, free: 15.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.009727, allocations: 25.7 kB / 396.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.009796, allocations: 170.5 kB / 396.3 MB, free: 14.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.009809, allocations: 15.89 kB / 396.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.009847, allocations: 31.38 kB / 396.4 MB, free: 14.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.009965, allocations: 0.4884 MB / 396.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.009984, allocations: 4 kB / 396.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.01002, allocations: 39.05 kB / 396.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.715e-05/0.01008, allocations: 51 kB / 396.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01008, allocations: 0 / 396.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.003097/0.01318, allocations: 73.58 kB / 397 MB, free: 14.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01319, allocations: 11.53 kB / 397 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.0132, allocations: 4.062 kB / 397 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.01321, allocations: 4 kB / 397 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.0133, allocations: 15.98 kB / 397.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.0133, allocations: 0 / 397.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.01334, allocations: 7.938 kB / 397.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.01334, allocations: 4 kB / 397.1 MB, free: 14.11 MB / 378.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.465e-05/0.01342, allocations: 160.5 kB / 397.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.01344, allocations: 11.89 kB / 397.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.01347, allocations: 8 kB / 397.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01347, allocations: 0 / 397.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01347, allocations: 4.062 kB / 397.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.01348, allocations: 8 kB / 397.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.01361, allocations: 136.6 kB / 397.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.01361, allocations: 0 / 397.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.01366, allocations: 15.98 kB / 397.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01367, allocations: 0 / 397.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.01367, allocations: 3.938 kB / 397.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01367, allocations: 0 / 397.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01368, allocations: 0 / 397.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.01383, allocations: 207.9 kB / 397.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.01384, allocations: 11.97 kB / 397.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.01386, allocations: 11.88 kB / 397.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.067e-05/0.01392, allocations: 3.938 kB / 397.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.01394, allocations: 4 kB / 397.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.01394, allocations: 0 / 397.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.993e-05/0.014, allocations: 147.7 kB / 397.8 MB, free: 13.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.014, allocations: 0 / 397.8 MB, free: 13.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.01423, allocations: 27.89 kB / 397.8 MB, free: 13.29 MB / 378.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 7.514e-05/0.01431, allocations: 91.25 kB / 397.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.445e-05/0.0144, allocations: 43.61 kB / 397.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01441, allocations: 0 / 397.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.01442, allocations: 15.69 kB / 398 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01466, allocations: 12.09 kB / 398 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006146/0.01528, allocations: 269.9 kB / 398.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.01532, allocations: 63.34 kB / 398.3 MB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.723e-05/0.01535, allocations: 3.781 kB / 398.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.01537, allocations: 12.5 kB / 398.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01537, allocations: 0 / 398.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of Templates: time 0.005742/0.02112, allocations: 0.6198 MB / 398.9 MB, free: 12.11 MB / 378.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: 3.1887636170722544]