Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.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.000919/0.000919, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.9494/0.9494, allocations: 177.1 MB / 201 MB, free: 5.684 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.001207/0.001207, allocations: 160.6 kB / 257.7 MB, free: 12.96 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.02496/0.02496, 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.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 392.9 MB, free: 3.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.634e-05, allocations: 2.312 kB / 392.9 MB, free: 3.359 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.00377/0.003797, allocations: 2.211 MB / 395.1 MB, free: 1.133 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.006265, allocations: 1.789 MB / 396.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.006411, allocations: 0 / 396.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.006758, allocations: 111.5 kB / 397 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004574/0.007216, allocations: 167 kB / 397.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.007488, allocations: 103.6 kB / 397.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.007784, allocations: 231.1 kB / 397.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.007907, allocations: 33.8 kB / 397.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.008085, allocations: 135.6 kB / 397.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.008276, allocations: 103.7 kB / 397.7 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.008301, allocations: 16 kB / 397.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.008441, allocations: 115.8 kB / 397.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.008496, allocations: 47.83 kB / 397.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.008546, allocations: 59.84 kB / 398 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.008814, allocations: 251.1 kB / 398.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.008817, allocations: 0 / 398.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.008818, allocations: 0 / 398.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.008822, allocations: 0 / 398.2 MB, free: 13.99 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005444/0.009367, allocations: 0.5617 MB / 398.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.009401, allocations: 8.031 kB / 398.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.009453, allocations: 36.8 kB / 398.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.009633, allocations: 200.1 kB / 399 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.009651, allocations: 8.609 kB / 399 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.009671, allocations: 12.38 kB / 399 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.00984, allocations: 183.8 kB / 399.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.009848, allocations: 3.938 kB / 399.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.00986, allocations: 4 kB / 399.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.009865, allocations: 4 kB / 399.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.088e-05/0.009916, allocations: 40.59 kB / 399.3 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.01037, allocations: 478.3 kB / 399.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.01056, allocations: 95.11 kB / 399.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.01059, allocations: 27.66 kB / 399.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.01061, allocations: 0 / 399.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.01073, allocations: 122.1 kB / 400 MB, free: 12.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 8.51e-07/0.01073, allocations: 0 / 400 MB, free: 12.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001881/0.01092, allocations: 121.3 kB / 400.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.01096, allocations: 110.8 kB / 400.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.01111, allocations: 282.6 kB / 400.5 MB, free: 11.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.01112, allocations: 29.7 kB / 400.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.993e-05/0.01122, allocations: 202.9 kB / 400.7 MB, free: 11.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.01124, allocations: 31.73 kB / 400.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.01128, allocations: 39.3 kB / 400.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.0114, allocations: 0.504 MB / 401.3 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.01143, allocations: 15.92 kB / 401.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.01149, allocations: 121.5 kB / 401.4 MB, free: 10.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.487e-05/0.01155, allocations: 78.64 kB / 401.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01156, allocations: 0 / 401.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001238/0.01168, allocations: 113.5 kB / 401.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.01169, allocations: 7.938 kB / 401.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.0117, allocations: 4 kB / 401.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.0117, allocations: 0 / 401.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.01177, allocations: 31.92 kB / 401.6 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.01177, allocations: 4 kB / 401.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.01182, allocations: 8.047 kB / 401.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.01183, allocations: 8 kB / 401.7 MB, free: 10.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.table.nextTimeEvent,$whenCondition1,table.nextTimeEventScaled,$PRE.table.nextTimeEventScaled,table.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.149e-05/0.01191, allocations: 168.5 kB / 401.8 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.01194, allocations: 27.89 kB / 401.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.01207, allocations: 107.1 kB / 402 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01207, allocations: 0 / 402 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.01208, allocations: 4 kB / 402 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01208, allocations: 0 / 402 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.0122, allocations: 153.1 kB / 402.1 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.0122, allocations: 4 kB / 402.1 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.01225, allocations: 15.94 kB / 402.1 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01225, allocations: 4 kB / 402.1 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.01226, allocations: 0 / 402.1 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01226, allocations: 4 kB / 402.1 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01226, allocations: 7.875 kB / 402.2 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.01241, allocations: 148.3 kB / 402.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.01244, allocations: 23.84 kB / 402.3 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.01245, allocations: 4 kB / 402.3 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.01249, allocations: 4 kB / 402.3 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.01252, allocations: 11.92 kB / 402.3 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.01253, allocations: 12.03 kB / 402.3 MB, free: 9.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.809e-05/0.01262, allocations: 197.5 kB / 402.5 MB, free: 9.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01262, allocations: 0 / 402.5 MB, free: 9.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.01283, allocations: 71.69 kB / 402.6 MB, free: 9.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEvent,table.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.001079/0.01391, allocations: 0.5026 MB / 403.1 MB, free: 8.797 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.01402, allocations: 59.59 kB / 403.2 MB, free: 8.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01402, allocations: 3.938 kB / 403.2 MB, free: 8.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.01408, allocations: 35.66 kB / 403.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.01427, allocations: 34.91 kB / 403.2 MB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.01497, allocations: 381.9 kB / 403.6 MB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.564e-05/0.01503, allocations: 79.81 kB / 403.7 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.23e-05/0.01508, allocations: 21.48 kB / 403.7 MB, free: 8.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.01519, allocations: 110.2 kB / 403.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01519, allocations: 0 / 403.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of Templates: time 0.0048/0.01999, allocations: 3.156 MB / 407 MB, free: 4.914 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TablesFromFile.sim & ./HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9915441051125526]