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.00123/0.00123, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002037/0.003267, allocations: 440 kB / 10.41 MB, free: 284 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 1.097/1.097, allocations: 177.2 MB / 188.4 MB, free: 4.398 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2225/1.32, allocations: 53.65 MB / 242 MB, free: 2.59 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.001052/0.001052, allocations: 158.3 kB / 242.9 MB, free: 1.699 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.00267, allocations: 477.2 kB / 243.4 MB, free: 1.25 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.02606/0.02606, allocations: 6.659 MB / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005949/0.03201, allocations: 2.664 MB / 253.5 MB, free: 7.387 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 2.735e-06/2.735e-06, allocations: 0 / 254.7 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.443e-05, allocations: 2.312 kB / 254.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.003206/0.00324, allocations: 1.331 MB / 256.1 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001007/0.003341, allocations: 27.89 kB / 256.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.003361, allocations: 0 / 256.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.003375, allocations: 3.938 kB / 256.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.622e-05/0.003411, allocations: 0 / 256.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.951e-05/0.003471, allocations: 7.984 kB / 256.1 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.832e-05/0.003549, allocations: 11.88 kB / 256.1 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.881e-05/0.003608, allocations: 4 kB / 256.1 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.216e-05/0.00369, allocations: 15.97 kB / 256.1 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.003774, allocations: 7.938 kB / 256.1 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.003801, allocations: 0 / 256.1 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.003813, allocations: 4 kB / 256.2 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.003835, allocations: 4 kB / 256.2 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.003855, allocations: 4 kB / 256.2 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.003963, allocations: 11.92 kB / 256.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.003982, allocations: 0 / 256.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.003983, allocations: 3.938 kB / 256.2 MB, free: 4.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.003997, allocations: 0 / 256.2 MB, free: 4.66 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.0004563/0.004454, allocations: 224.7 kB / 256.4 MB, free: 4.414 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.004505, allocations: 8.031 kB / 256.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.004546, allocations: 4.938 kB / 256.4 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.004674, allocations: 113.7 kB / 256.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.004685, allocations: 4.375 kB / 256.5 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.004718, allocations: 8.375 kB / 256.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.189e-05/0.0048, allocations: 34.25 kB / 256.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.004808, allocations: 192 / 256.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.004814, allocations: 384 / 256.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.004822, allocations: 384 / 256.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.004851, allocations: 11.92 kB / 256.6 MB, free: 4.203 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.00497, allocations: 61.03 kB / 256.6 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/0.005047, allocations: 34.52 kB / 256.7 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.005069, allocations: 12.86 kB / 256.7 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.005077, allocations: 4.141 kB / 256.7 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.005106, allocations: 34.55 kB / 256.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.005107, allocations: 0 / 256.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.000127/0.005234, allocations: 41.69 kB / 256.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.005272, allocations: 51.41 kB / 256.8 MB, free: 3.914 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.005363, allocations: 106.6 kB / 256.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.005378, allocations: 25.7 kB / 256.9 MB, free: 3.766 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.005409, allocations: 88.14 kB / 257 MB, free: 3.676 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.005445, allocations: 3.953 kB / 257 MB, free: 3.672 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.00548, allocations: 17.7 kB / 257 MB, free: 3.648 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.005585, allocations: 318.8 kB / 257.4 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.005598, allocations: 8 kB / 257.4 MB, free: 3.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-06/0.005607, allocations: 0 / 257.4 MB, free: 3.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.005651, allocations: 16.84 kB / 257.4 MB, free: 3.301 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.005654, allocations: 0 / 257.4 MB, free: 3.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.629e-05/0.00573, allocations: 45.69 kB / 257.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.005751, allocations: 6.656 kB / 257.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.005758, allocations: 3.938 kB / 257.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.005774, allocations: 0 / 257.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.005983, allocations: 15.98 kB / 257.5 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.005987, allocations: 3.938 kB / 257.5 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/0.006005, allocations: 7.953 kB / 257.5 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.00601, allocations: 3.938 kB / 257.5 MB, free: 3.211 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 7.013e-05/0.00608, allocations: 109.8 kB / 257.6 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.006089, allocations: 4 kB / 257.6 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.006118, allocations: 7.688 kB / 257.6 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.00612, allocations: 0 / 257.6 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.006122, allocations: 0 / 257.6 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.006127, allocations: 4.516 kB / 257.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.951e-05/0.006207, allocations: 73.83 kB / 257.7 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006208, allocations: 0 / 257.7 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.292e-05/0.006301, allocations: 15.98 kB / 257.7 MB, free: 2.969 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.006312, allocations: 3.984 kB / 257.7 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.006314, allocations: 4 kB / 257.7 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.006327, allocations: 0 / 257.7 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.006329, allocations: 0 / 257.7 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.006331, allocations: 3.984 kB / 257.7 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.006466, allocations: 73 kB / 257.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.00648, allocations: 4 kB / 257.8 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.357e-05/0.006504, allocations: 0 / 257.8 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.00652, allocations: 3.984 kB / 257.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.006525, allocations: 0 / 257.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.952e-05/0.006544, allocations: 12.89 kB / 257.8 MB, free: 2.844 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006544, allocations: 0 / 257.8 MB, free: 2.844 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001105/0.006655, allocations: 4 kB / 257.8 MB, free: 2.84 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 9.698e-05/0.006752, allocations: 72.42 kB / 257.9 MB, free: 2.762 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.544e-05/0.006837, allocations: 20.84 kB / 257.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.006845, allocations: 4 kB / 257.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.006863, allocations: 16.73 kB / 257.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.006976, allocations: 45.64 kB / 257.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.007606, allocations: 136.5 kB / 258.1 MB, free: 2.504 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.007638, allocations: 55.34 kB / 258.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.706e-05/0.007665, allocations: 4 kB / 258.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.007713, allocations: 51.38 kB / 258.2 MB, free: 2.375 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.007714, allocations: 0 / 258.2 MB, free: 2.375 MB / 250.7 MB Notification: Performance of Templates: time 0.002068/0.009782, allocations: 383.5 kB / 258.6 MB, free: 2.012 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.8962458232417703]