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.001306/0.001306, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.037/1.037, allocations: 177.2 MB / 201 MB, free: 5.715 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.001261/0.001261, allocations: 160.6 kB / 257.7 MB, free: 12.99 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.02462/0.02462, allocations: 6.66 MB / 320.9 MB, free: 11.45 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.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.713e-06/1.713e-06, allocations: 0 / 392.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.869e-05, allocations: 2.312 kB / 392.9 MB, free: 3.387 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001781/0.00181, allocations: 0.5124 MB / 393.4 MB, free: 2.879 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001553/0.001965, allocations: 27.89 kB / 393.4 MB, free: 2.852 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.001996, allocations: 0 / 393.4 MB, free: 2.852 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.002015, allocations: 0 / 393.4 MB, free: 2.852 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.002068, allocations: 0 / 393.4 MB, free: 2.852 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.002172, allocations: 11.92 kB / 393.4 MB, free: 2.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.375e-05/0.002236, allocations: 23.86 kB / 393.4 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.065e-05/0.002287, allocations: 4 kB / 393.4 MB, free: 2.812 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.002328, allocations: 8 kB / 393.4 MB, free: 2.805 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.002392, allocations: 7.984 kB / 393.5 MB, free: 2.797 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.002411, allocations: 0 / 393.5 MB, free: 2.797 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-06/0.002419, allocations: 4 kB / 393.5 MB, free: 2.793 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.002439, allocations: 3.938 kB / 393.5 MB, free: 2.789 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.002457, allocations: 7.938 kB / 393.5 MB, free: 2.781 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 6.086e-05/0.002518, allocations: 11.97 kB / 393.5 MB, free: 2.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.00252, allocations: 0 / 393.5 MB, free: 2.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.002521, allocations: 4 kB / 393.5 MB, free: 2.766 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.002525, allocations: 0 / 393.5 MB, free: 2.766 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003573/0.002882, allocations: 348.7 kB / 393.8 MB, free: 2.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.002926, allocations: 16.02 kB / 393.8 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.002955, allocations: 0.9375 kB / 393.8 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.003047, allocations: 108.6 kB / 393.9 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.00306, allocations: 384 / 393.9 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.003076, allocations: 384 / 393.9 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.74e-05/0.003144, allocations: 34.25 kB / 394 MB, free: 2.199 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.003151, allocations: 192 / 394 MB, free: 2.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.003159, allocations: 4.375 kB / 394 MB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.003164, allocations: 4.375 kB / 394 MB, free: 2.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.003185, allocations: 11.88 kB / 394 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.00331, allocations: 93.27 kB / 394.1 MB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.64e-05/0.003376, allocations: 47.08 kB / 394.1 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.003399, allocations: 11.69 kB / 394.2 MB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.003405, allocations: 0 / 394.2 MB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.00343, allocations: 41.33 kB / 394.2 MB, free: 1.938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.003431, allocations: 0 / 394.2 MB, free: 1.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.000131/0.003562, allocations: 53.67 kB / 394.2 MB, free: 1.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.003595, allocations: 51.41 kB / 394.3 MB, free: 1.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.003677, allocations: 162.1 kB / 394.5 MB, free: 1.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.00369, allocations: 25.7 kB / 394.5 MB, free: 1.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.003734, allocations: 130.9 kB / 394.6 MB, free: 1.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.003762, allocations: 7.891 kB / 394.6 MB, free: 1.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.003797, allocations: 27.36 kB / 394.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.003934, allocations: 0.4883 MB / 395.1 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.003944, allocations: 0 / 395.1 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.003955, allocations: 8.172 kB / 395.1 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.00399, allocations: 19.66 kB / 395.2 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.003992, allocations: 3.938 kB / 395.2 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.84e-05/0.00406, allocations: 49.66 kB / 395.2 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.004074, allocations: 8 kB / 395.2 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.00408, allocations: 3.984 kB / 395.2 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.00409, allocations: 0 / 395.2 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.004172, allocations: 8 kB / 395.2 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.004175, allocations: 3.984 kB / 395.2 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.004191, allocations: 0 / 395.2 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.004195, allocations: 3.938 kB / 395.2 MB, free: 0.8164 MB / 362.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 7.24e-05/0.004268, allocations: 156.6 kB / 395.4 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-06/0.004277, allocations: 4 kB / 395.4 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.004298, allocations: 7.688 kB / 395.4 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.004301, allocations: 4 kB / 395.4 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.004304, allocations: 3.984 kB / 395.4 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004307, allocations: 0 / 395.4 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.3e-05/0.00439, allocations: 105.1 kB / 395.5 MB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.004391, allocations: 0 / 395.5 MB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.004458, allocations: 12 kB / 395.5 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.00446, allocations: 0 / 395.5 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.004469, allocations: 0 / 395.5 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.004471, allocations: 3.984 kB / 395.5 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.004472, allocations: 0 / 395.5 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.66e-05/0.004568, allocations: 88.33 kB / 395.6 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.004575, allocations: 7.938 kB / 395.6 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-06/0.004581, allocations: 0 / 395.6 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.787e-06/0.00459, allocations: 4 kB / 395.6 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-06/0.004599, allocations: 0 / 395.6 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.004601, allocations: 0 / 395.6 MB, free: 372 kB / 362.7 MB Notification: Performance of sorting global known variables: time 3.161e-05/0.004633, allocations: 131.2 kB / 395.8 MB, free: 240 kB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004633, allocations: 3.938 kB / 395.8 MB, free: 236 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001083/0.004741, allocations: 4 kB / 395.8 MB, free: 232 kB / 362.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.589e-05/0.004807, allocations: 91.25 kB / 395.8 MB, free: 128 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.688e-05/0.004864, allocations: 27.7 kB / 395.9 MB, free: 96 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.004865, allocations: 0 / 395.9 MB, free: 96 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-06/0.004874, allocations: 12.11 kB / 395.9 MB, free: 80 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.53e-05/0.004969, allocations: 11.88 kB / 395.9 MB, free: 68 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.005217, allocations: 162.3 kB / 396.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.349e-05/0.005241, allocations: 51.36 kB / 396.1 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.023e-05/0.005251, allocations: 0 / 396.1 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.005283, allocations: 70.2 kB / 396.2 MB, free: 15.74 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005283, allocations: 0 / 396.2 MB, free: 15.74 MB / 378.7 MB Notification: Performance of Templates: time 0.001599/0.006882, allocations: 286.5 kB / 396.5 MB, free: 15.46 MB / 378.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: 2.853433701209724]