Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.0008478/0.0008478, allocations: 80.94 kB / 19.94 MB, free: 4.543 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 0.912/0.912, allocations: 177.2 MB / 200.3 MB, free: 5.371 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.001144/0.001144, allocations: 156.6 kB / 257 MB, free: 12.82 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.02679/0.02679, allocations: 6.67 MB / 266.9 MB, free: 3.062 MB / 250.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.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 285.6 MB, free: 368 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.361e-05, allocations: 6.25 kB / 285.6 MB, free: 360 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.09634/0.09636, allocations: 1.259 MB / 286.9 MB, free: 22.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.09647, allocations: 24.61 kB / 286.9 MB, free: 22.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.09649, allocations: 0 / 286.9 MB, free: 22.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.09651, allocations: 2.344 kB / 286.9 MB, free: 22.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.09655, allocations: 6.969 kB / 286.9 MB, free: 22.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.601e-05/0.09663, allocations: 7.594 kB / 286.9 MB, free: 22.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.695e-05/0.09667, allocations: 19.98 kB / 286.9 MB, free: 22.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.09671, allocations: 3.969 kB / 286.9 MB, free: 22.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.09674, allocations: 6.328 kB / 287 MB, free: 22.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.807e-05/0.09679, allocations: 4.438 kB / 287 MB, free: 22.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.0968, allocations: 1.125 kB / 287 MB, free: 22.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-06/0.09681, allocations: 2.5 kB / 287 MB, free: 22.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.09682, allocations: 4.703 kB / 287 MB, free: 22.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.409e-05/0.09684, allocations: 8.25 kB / 287 MB, free: 22.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.332e-05/0.09688, allocations: 9.75 kB / 287 MB, free: 22.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.09688, allocations: 0.5312 kB / 287 MB, free: 22.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09689, allocations: 2.188 kB / 287 MB, free: 22.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.09689, allocations: 0.75 kB / 287 MB, free: 22.12 MB / 266.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.000229/0.09712, allocations: 224.8 kB / 287.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.09716, allocations: 8.969 kB / 287.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.09718, allocations: 9.578 kB / 287.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.449e-05/0.09725, allocations: 111.4 kB / 287.3 MB, free: 21.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.09726, allocations: 1.125 kB / 287.3 MB, free: 21.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.09728, allocations: 1.812 kB / 287.3 MB, free: 21.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.835e-05/0.09735, allocations: 34.38 kB / 287.4 MB, free: 21.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.09736, allocations: 192 / 287.4 MB, free: 21.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-06/0.09736, allocations: 3.531 kB / 287.4 MB, free: 21.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.09737, allocations: 2.5 kB / 287.4 MB, free: 21.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.09739, allocations: 12.25 kB / 287.4 MB, free: 21.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.349e-05/0.09747, allocations: 66.23 kB / 287.5 MB, free: 21.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.09752, allocations: 28.03 kB / 287.5 MB, free: 21.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.09754, allocations: 11.27 kB / 287.5 MB, free: 21.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.09754, allocations: 0.9375 kB / 287.5 MB, free: 21.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.09756, allocations: 32.78 kB / 287.5 MB, free: 21.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.09756, allocations: 2.016 kB / 287.5 MB, free: 21.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 7.089e-05/0.09763, allocations: 42.19 kB / 287.6 MB, free: 21.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.735e-05/0.09765, allocations: 59.12 kB / 287.6 MB, free: 21.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.901e-05/0.09768, allocations: 108.6 kB / 287.7 MB, free: 21.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.017e-06/0.09768, allocations: 31.36 kB / 287.8 MB, free: 21.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-06/0.09769, allocations: 80.14 kB / 287.8 MB, free: 21.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.09771, allocations: 7.031 kB / 287.8 MB, free: 21.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.09773, allocations: 15.02 kB / 287.9 MB, free: 21.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.194e-05/0.09775, allocations: 329.6 kB / 288.2 MB, free: 20.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-06/0.09775, allocations: 3.844 kB / 288.2 MB, free: 20.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.09776, allocations: 2.062 kB / 288.2 MB, free: 20.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.115e-05/0.09778, allocations: 15.09 kB / 288.2 MB, free: 20.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.09778, allocations: 0.5312 kB / 288.2 MB, free: 20.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 2.98e-05/0.09781, allocations: 40.61 kB / 288.2 MB, free: 20.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.09782, allocations: 9.062 kB / 288.3 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.09782, allocations: 0 / 288.3 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.09783, allocations: 1.406 kB / 288.3 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.09789, allocations: 8.859 kB / 288.3 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.0979, allocations: 3 kB / 288.3 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.013e-05/0.09791, allocations: 1.656 kB / 288.3 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-06/0.09791, allocations: 0.7969 kB / 288.3 MB, free: 20.87 MB / 266.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 2.593e-05/0.09793, allocations: 118.8 kB / 288.4 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-06/0.09794, allocations: 10.62 kB / 288.4 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.453e-05/0.09795, allocations: 4.438 kB / 288.4 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.09796, allocations: 1.125 kB / 288.4 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.09796, allocations: 0.7969 kB / 288.4 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.09796, allocations: 2 kB / 288.4 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.524e-05/0.09799, allocations: 72.41 kB / 288.5 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.098, allocations: 2.625 kB / 288.5 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.09803, allocations: 8.516 kB / 288.5 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.09803, allocations: 0 / 288.5 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.09804, allocations: 1.859 kB / 288.5 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.09804, allocations: 3.469 kB / 288.5 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.09804, allocations: 0 / 288.5 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.926e-05/0.0981, allocations: 78.33 kB / 288.6 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-06/0.09811, allocations: 2.25 kB / 288.6 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.09812, allocations: 9.828 kB / 288.6 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.09812, allocations: 0.6094 kB / 288.6 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-06/0.09813, allocations: 4.844 kB / 288.6 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.09813, allocations: 2.062 kB / 288.6 MB, free: 20.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.983e-06/0.09814, allocations: 11.02 kB / 288.6 MB, free: 20.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.09814, allocations: 0 / 288.6 MB, free: 20.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.71e-05/0.09823, allocations: 4 kB / 288.6 MB, free: 20.56 MB / 266.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 4.95e-05/0.09828, allocations: 76.3 kB / 288.7 MB, free: 20.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.087e-05/0.09832, allocations: 18.25 kB / 288.7 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.09832, allocations: 0 / 288.7 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.075e-06/0.09833, allocations: 15.53 kB / 288.7 MB, free: 20.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.519e-05/0.09837, allocations: 5.312 kB / 288.7 MB, free: 20.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.09857, allocations: 156.3 kB / 288.9 MB, free: 20.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.465e-05/0.09858, allocations: 59.92 kB / 288.9 MB, free: 20.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.278e-06/0.09859, allocations: 1.703 kB / 288.9 MB, free: 20.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.09861, allocations: 49.53 kB / 289 MB, free: 20.22 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.09861, allocations: 1.156 kB / 289 MB, free: 20.22 MB / 266.7 MB Notification: Performance of Templates: time 0.001413/0.1, allocations: 287.8 kB / 289.3 MB, free: 20.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.424854558892548]