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.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.001679/0.001679, allocations: 84.73 kB / 19.44 MB, free: 356 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.635/1.635, allocations: 177.1 MB / 199.7 MB, free: 5.82 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.001915/0.001915, allocations: 163.7 kB / 256.3 MB, free: 13.18 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.03722/0.03722, allocations: 6.655 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.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 2.334e-06/2.334e-06, allocations: 0 / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.968e-05/4.202e-05, allocations: 6.25 kB / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001823/0.001865, allocations: 0.5241 MB / 391.4 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001584/0.002024, allocations: 19.91 kB / 391.4 MB, free: 2.445 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.002054, allocations: 0 / 391.4 MB, free: 2.445 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.002069, allocations: 0 / 391.4 MB, free: 2.445 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.519e-05/0.002124, allocations: 3.938 kB / 391.4 MB, free: 2.441 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.002251, allocations: 11.92 kB / 391.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.002324, allocations: 15.94 kB / 391.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.002373, allocations: 0 / 391.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.002423, allocations: 19.91 kB / 391.5 MB, free: 2.395 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.002483, allocations: 4 kB / 391.5 MB, free: 2.391 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.0025, allocations: 0 / 391.5 MB, free: 2.391 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.002513, allocations: 4 kB / 391.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.002529, allocations: 3.984 kB / 391.5 MB, free: 2.383 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.002556, allocations: 4 kB / 391.5 MB, free: 2.379 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.846e-05/0.002634, allocations: 11.88 kB / 391.5 MB, free: 2.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.002638, allocations: 0 / 391.5 MB, free: 2.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.00264, allocations: 0 / 391.5 MB, free: 2.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.002645, allocations: 4 kB / 391.5 MB, free: 2.363 MB / 314.7 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.0004514/0.003097, allocations: 246.4 kB / 391.8 MB, free: 2.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.003144, allocations: 8.031 kB / 391.8 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.003204, allocations: 8.891 kB / 391.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.003343, allocations: 109.8 kB / 391.9 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.003356, allocations: 384 / 391.9 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.003385, allocations: 4.375 kB / 391.9 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.003493, allocations: 34.2 kB / 391.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.003501, allocations: 192 / 391.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.003512, allocations: 384 / 391.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.003519, allocations: 8.375 kB / 391.9 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.947e-05/0.003568, allocations: 19.91 kB / 391.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.003759, allocations: 101.3 kB / 392 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.774e-05/0.003857, allocations: 38.61 kB / 392.1 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.003892, allocations: 8.859 kB / 392.1 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.003906, allocations: 3.938 kB / 392.1 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.003946, allocations: 38.56 kB / 392.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.003947, allocations: 0 / 392.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001955/0.004143, allocations: 45.78 kB / 392.2 MB, free: 1.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.004197, allocations: 51.41 kB / 392.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.004303, allocations: 105.8 kB / 392.3 MB, free: 1.406 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.004326, allocations: 25.7 kB / 392.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.004393, allocations: 92.12 kB / 392.4 MB, free: 1.281 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.004427, allocations: 11.84 kB / 392.5 MB, free: 1.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.004469, allocations: 17.72 kB / 392.5 MB, free: 1.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.004662, allocations: 314.8 kB / 392.8 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.004682, allocations: 7.938 kB / 392.8 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.63e-05/0.004698, allocations: 8 kB / 392.8 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/0.004749, allocations: 20.84 kB / 392.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004751, allocations: 0 / 392.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.43e-05/0.004835, allocations: 45.7 kB / 392.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.004853, allocations: 8 kB / 392.9 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.004859, allocations: 0 / 392.9 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.004884, allocations: 3.938 kB / 392.9 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.005005, allocations: 11.98 kB / 392.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.005015, allocations: 3.938 kB / 392.9 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.00504, allocations: 7.891 kB / 392.9 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.005048, allocations: 4 kB / 392.9 MB, free: 0.8008 MB / 314.7 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 0.0001011/0.005149, allocations: 109.8 kB / 393 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.005163, allocations: 4 kB / 393 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.005189, allocations: 3.688 kB / 393 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.005192, allocations: 4 kB / 393 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.005198, allocations: 0 / 393 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.005209, allocations: 8.438 kB / 393 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.005336, allocations: 101.3 kB / 393.1 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005337, allocations: 0 / 393.1 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.005413, allocations: 8 kB / 393.1 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.005415, allocations: 0 / 393.1 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.005423, allocations: 0 / 393.1 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.005432, allocations: 7.984 kB / 393.1 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.005433, allocations: 0 / 393.1 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.005609, allocations: 89.02 kB / 393.2 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.005621, allocations: 3.953 kB / 393.2 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.005635, allocations: 4.031 kB / 393.2 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.803e-05/0.005653, allocations: 0 / 393.2 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.00567, allocations: 0 / 393.2 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.005679, allocations: 7.984 kB / 393.2 MB, free: 404 kB / 314.7 MB Notification: Performance of sorting global known variables: time 6.13e-05/0.00574, allocations: 83.28 kB / 393.3 MB, free: 320 kB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00574, allocations: 0 / 393.3 MB, free: 320 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.005951, allocations: 7.938 kB / 393.3 MB, free: 312 kB / 314.7 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 0.0001333/0.006084, allocations: 91.25 kB / 393.4 MB, free: 212 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.006187, allocations: 24.05 kB / 393.4 MB, free: 188 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006189, allocations: 0 / 393.4 MB, free: 188 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.006207, allocations: 7.938 kB / 393.5 MB, free: 180 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.006371, allocations: 0 / 393.5 MB, free: 180 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.006845, allocations: 157 kB / 393.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.701e-05/0.006912, allocations: 59.36 kB / 393.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.006932, allocations: 3.938 kB / 393.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.006971, allocations: 16.48 kB / 393.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.006972, allocations: 0 / 393.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of Templates: time 0.002768/0.00974, allocations: 254.4 kB / 393.9 MB, free: 15.65 MB / 330.7 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] [Calling sys.exit(0), Time elapsed: 5.138557978905737]