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.0007218/0.0007218, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008444/0.001566, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9205/0.9205, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1622/1.083, allocations: 53.64 MB / 241.9 MB, free: 2.746 MB / 234.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.001213/0.001213, allocations: 159.5 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001643/0.002856, allocations: 473 kB / 243.2 MB, free: 1.43 MB / 234.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.02316/0.02316, allocations: 6.655 MB / 250.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005938/0.0291, allocations: 2.67 MB / 253.3 MB, free: 7.566 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.222e-06/1.222e-06, allocations: 0 / 254.5 MB, free: 6.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.511e-05, allocations: 5.125 kB / 254.5 MB, free: 6.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.002165/0.00219, allocations: 1.321 MB / 255.9 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 5.738e-05/0.002247, allocations: 31.89 kB / 255.9 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.002264, allocations: 0 / 255.9 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.716e-06/0.002273, allocations: 0 / 255.9 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.226e-05/0.002295, allocations: 3.938 kB / 255.9 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.425e-05/0.002329, allocations: 0 / 255.9 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.002388, allocations: 23.86 kB / 255.9 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.002427, allocations: 7.984 kB / 255.9 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.352e-05/0.002481, allocations: 7.984 kB / 255.9 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.002532, allocations: 4 kB / 255.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.00255, allocations: 0 / 255.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-06/0.002556, allocations: 0 / 255.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.00257, allocations: 15.88 kB / 255.9 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.002586, allocations: 0 / 255.9 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.243e-05/0.002649, allocations: 15.92 kB / 256 MB, free: 4.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.468e-05/0.002664, allocations: 0 / 256 MB, free: 4.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002664, allocations: 0 / 256 MB, free: 4.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.002678, allocations: 0 / 256 MB, free: 4.883 MB / 250.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.0003332/0.003011, allocations: 224.7 kB / 256.2 MB, free: 4.637 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.003047, allocations: 12.03 kB / 256.2 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.003073, allocations: 0.9375 kB / 256.2 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.366e-05/0.003167, allocations: 113.7 kB / 256.3 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.003177, allocations: 4.375 kB / 256.3 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.003196, allocations: 384 / 256.3 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.868e-05/0.003265, allocations: 34.25 kB / 256.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.003273, allocations: 192 / 256.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.003282, allocations: 12.36 kB / 256.4 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.003289, allocations: 384 / 256.4 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00303/0.00632, allocations: 11.88 kB / 256.4 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.815e-05/0.006418, allocations: 60.98 kB / 256.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.24e-05/0.00647, allocations: 26.61 kB / 256.5 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.006488, allocations: 8.859 kB / 256.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.006496, allocations: 8 kB / 256.5 MB, free: 4.293 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.006517, allocations: 30.56 kB / 256.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.006517, allocations: 0 / 256.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 9.696e-05/0.006614, allocations: 49.72 kB / 256.5 MB, free: 4.199 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.006645, allocations: 51.41 kB / 256.6 MB, free: 4.137 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/0.006704, allocations: 106.7 kB / 256.7 MB, free: 4.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.006715, allocations: 25.7 kB / 256.7 MB, free: 3.988 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.006744, allocations: 80.14 kB / 256.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.006771, allocations: 7.953 kB / 256.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.006801, allocations: 13.72 kB / 256.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.006886, allocations: 326.8 kB / 257.1 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/0.006894, allocations: 4 kB / 257.2 MB, free: 3.547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.006901, allocations: 4 kB / 257.2 MB, free: 3.543 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.006932, allocations: 20.84 kB / 257.2 MB, free: 3.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006935, allocations: 0 / 257.2 MB, free: 3.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.304e-05/0.006988, allocations: 41.62 kB / 257.2 MB, free: 3.473 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.007002, allocations: 8 kB / 257.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.007006, allocations: 0 / 257.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.007015, allocations: 0 / 257.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.007169, allocations: 8 kB / 257.2 MB, free: 3.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.007171, allocations: 0 / 257.2 MB, free: 3.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.496e-05/0.007186, allocations: 7.953 kB / 257.2 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.007195, allocations: 11.92 kB / 257.3 MB, free: 3.438 MB / 250.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.257e-05/0.007248, allocations: 113.8 kB / 257.4 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-06/0.007256, allocations: 4.516 kB / 257.4 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.007274, allocations: 3.688 kB / 257.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.007276, allocations: 0 / 257.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.007278, allocations: 0 / 257.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.00728, allocations: 0 / 257.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.648e-05/0.007346, allocations: 73.81 kB / 257.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007349, allocations: 3.984 kB / 257.4 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/0.007423, allocations: 23.94 kB / 257.5 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.007429, allocations: 0 / 257.5 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007431, allocations: 3.938 kB / 257.5 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.00744, allocations: 3.984 kB / 257.5 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007442, allocations: 4 kB / 257.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007443, allocations: 0 / 257.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.443e-05/0.007538, allocations: 65.06 kB / 257.5 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.007547, allocations: 0 / 257.5 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.065e-05/0.007558, allocations: 0 / 257.5 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.007569, allocations: 4 kB / 257.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.007572, allocations: 3.984 kB / 257.6 MB, free: 3.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.09e-05/0.007583, allocations: 12.89 kB / 257.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007583, allocations: 0 / 257.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001319/0.007715, allocations: 8 kB / 257.6 MB, free: 3.066 MB / 250.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 7.269e-05/0.007787, allocations: 76.36 kB / 257.6 MB, free: 2.984 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.832e-05/0.007846, allocations: 16.84 kB / 257.7 MB, free: 2.965 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.007851, allocations: 0 / 257.7 MB, free: 2.965 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.859e-06/0.007861, allocations: 8.859 kB / 257.7 MB, free: 2.953 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.279e-05/0.007934, allocations: 11.88 kB / 257.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/0.008613, allocations: 152.3 kB / 257.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.741e-05/0.008641, allocations: 51.36 kB / 257.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.175e-05/0.008663, allocations: 4 kB / 257.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.008697, allocations: 47.38 kB / 257.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008698, allocations: 0 / 257.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of Templates: time 0.004858/0.01356, allocations: 356.8 kB / 258.3 MB, free: 2.301 MB / 250.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.552642266266048]