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.0009028/0.0009028, allocations: 93.06 kB / 19.65 MB, free: 280 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.018/1.018, 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.0021/0.0021, allocations: 156.6 kB / 256.6 MB, free: 12.98 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.0239/0.0239, allocations: 6.649 MB / 319.8 MB, free: 26.52 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 1.633e-06/1.633e-06, allocations: 0 / 391.6 MB, free: 2.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.944e-05, allocations: 6.25 kB / 391.6 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001226/0.001255, allocations: 0.505 MB / 392.1 MB, free: 2.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001384/0.001394, allocations: 31.91 kB / 392.2 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.001416, allocations: 0 / 392.2 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.001434, allocations: 0 / 392.2 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.381e-05/0.001478, allocations: 11.91 kB / 392.2 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.001579, allocations: 7.875 kB / 392.2 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.59e-05/0.001625, allocations: 15.94 kB / 392.2 MB, free: 2.023 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.041e-05/0.001686, allocations: 7.984 kB / 392.2 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.001722, allocations: 4 kB / 392.2 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.00177, allocations: 3.938 kB / 392.2 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.001785, allocations: 0 / 392.2 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.001792, allocations: 8 kB / 392.2 MB, free: 2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.001806, allocations: 3.984 kB / 392.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.00183, allocations: 11.98 kB / 392.2 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.923e-05/0.001899, allocations: 4 kB / 392.2 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.001901, allocations: 0 / 392.2 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.001902, allocations: 0 / 392.2 MB, free: 1.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.001906, allocations: 0 / 392.2 MB, free: 1.98 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.0004218/0.002328, allocations: 352.7 kB / 392.6 MB, free: 1.598 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.002381, allocations: 12.03 kB / 392.6 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.002423, allocations: 0.9375 kB / 392.6 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.002543, allocations: 116.6 kB / 392.7 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.00256, allocations: 384 / 392.7 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.0026, allocations: 8.297 kB / 392.7 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.002737, allocations: 38.2 kB / 392.8 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.002746, allocations: 192 / 392.8 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.002759, allocations: 384 / 392.8 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.002769, allocations: 4.375 kB / 392.8 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.295e-05/0.002802, allocations: 11.92 kB / 392.8 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.002951, allocations: 112.6 kB / 392.9 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.454e-05/0.003016, allocations: 39.09 kB / 392.9 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.003042, allocations: 15.69 kB / 392.9 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.003051, allocations: 4 kB / 392.9 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.003076, allocations: 37.33 kB / 393 MB, free: 1.113 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.003076, allocations: 0 / 393 MB, free: 1.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001312/0.003208, allocations: 49.73 kB / 393 MB, free: 1.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.003239, allocations: 59.39 kB / 393.1 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.003314, allocations: 161.9 kB / 393.2 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.003324, allocations: 25.7 kB / 393.3 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.003362, allocations: 126.9 kB / 393.4 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.003388, allocations: 11.89 kB / 393.4 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.003417, allocations: 23.36 kB / 393.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.003527, allocations: 0.4923 MB / 393.9 MB, free: 108 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.003539, allocations: 0 / 393.9 MB, free: 108 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.003558, allocations: 7.938 kB / 393.9 MB, free: 100 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.003591, allocations: 23.67 kB / 393.9 MB, free: 72 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.003593, allocations: 0 / 393.9 MB, free: 72 kB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.73e-05/0.00365, allocations: 42.17 kB / 394 MB, free: 24 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.003663, allocations: 7.984 kB / 394 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.003668, allocations: 0 / 394 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.003684, allocations: 4 kB / 394 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.003772, allocations: 4 kB / 394 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.003778, allocations: 0 / 394 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.003805, allocations: 15.89 kB / 394 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.00381, allocations: 3.984 kB / 394 MB, free: 15.99 MB / 330.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 5.897e-05/0.003869, allocations: 156.5 kB / 394.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-06/0.003876, allocations: 8.031 kB / 394.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.003902, allocations: 11.67 kB / 394.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.003903, allocations: 0 / 394.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.003907, allocations: 3.938 kB / 394.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.003912, allocations: 3.938 kB / 394.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.199e-05/0.003983, allocations: 112.6 kB / 394.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.003985, allocations: 4 kB / 394.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.004033, allocations: 15.98 kB / 394.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.004035, allocations: 4 kB / 394.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.004048, allocations: 0 / 394.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.004049, allocations: 0 / 394.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00405, allocations: 0 / 394.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.004158, allocations: 88.31 kB / 394.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.004166, allocations: 3.953 kB / 394.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.004176, allocations: 4 kB / 394.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-06/0.004183, allocations: 0 / 394.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.0042, allocations: 3.984 kB / 394.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.004202, allocations: 0 / 394.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.897e-05/0.004241, allocations: 135.2 kB / 394.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004241, allocations: 0 / 394.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001171/0.004358, allocations: 4 kB / 394.6 MB, free: 15.37 MB / 330.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 6.521e-05/0.004423, allocations: 91.25 kB / 394.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.998e-05/0.004503, allocations: 19.67 kB / 394.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.004505, allocations: 0 / 394.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.374e-05/0.004518, allocations: 23.62 kB / 394.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.004625, allocations: 0 / 394.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.004926, allocations: 166.5 kB / 394.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.004959, allocations: 55.36 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.389e-05/0.004973, allocations: 0 / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.004997, allocations: 12.48 kB / 394.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.004998, allocations: 4 kB / 394.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of Templates: time 0.001727/0.006724, allocations: 266.4 kB / 395.2 MB, free: 14.68 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0621448350138962]