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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005104/0.005104, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03652/0.03652, allocations: 8.801 MB / 24.65 MB, free: 4.121 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 250.7 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008065/0.0008065, allocations: 97.84 kB / 304 MB, free: 4.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 12 kB / 367.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2145, allocations: 52.53 MB / 419.6 MB, free: 48.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08843/0.3029, allocations: 82.5 MB / 0.4903 GB, free: 6.625 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001574/0.3031, allocations: 71.97 kB / 0.4904 GB, free: 6.555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01859/0.3217, allocations: 7.695 MB / 0.4979 GB, free: 14.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.3218, allocations: 4 kB / 0.4979 GB, free: 14.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.3218, allocations: 7.938 kB / 0.4979 GB, free: 14.86 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.0006586/0.3225, allocations: 0.491 MB / 0.4984 GB, free: 14.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3225, allocations: 8.562 kB / 0.4984 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.3226, allocations: 23.72 kB / 0.4984 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.3229, allocations: 259.7 kB / 0.4987 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.3229, allocations: 16.17 kB / 0.4987 GB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.323, allocations: 15.98 kB / 0.4987 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.3233, allocations: 145.4 kB / 0.4989 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3233, allocations: 0 / 0.4989 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.3233, allocations: 7.938 kB / 0.4989 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3233, allocations: 4 kB / 0.4989 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.3235, allocations: 72.67 kB / 0.4989 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008057/0.3243, allocations: 0.5495 MB / 0.4995 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.3247, allocations: 118.7 kB / 0.4996 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.3247, allocations: 0 / 0.4996 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.3249, allocations: 105.2 kB / 0.4997 GB, free: 12.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3249, allocations: 0 / 0.4997 GB, free: 12.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003295/0.3252, allocations: 153.4 kB / 0.4998 GB, free: 12.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.3253, allocations: 106.8 kB / 0.4999 GB, free: 12.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.3255, allocations: 244.1 kB / 0.5002 GB, free: 12.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3256, allocations: 33.7 kB / 0.5002 GB, free: 12.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.3256, allocations: 135.9 kB / 0.5003 GB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.3257, allocations: 35.55 kB / 0.5004 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.3257, allocations: 0 / 0.5004 GB, free: 12.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3258, allocations: 330.8 kB / 0.5007 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.446e-05/0.3259, allocations: 31.98 kB / 0.5007 GB, free: 11.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.788e-05/0.326, allocations: 70.83 kB / 0.5008 GB, free: 11.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.86e-05/0.3261, allocations: 35.98 kB / 0.5008 GB, free: 11.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3261, allocations: 0 / 0.5008 GB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002356/0.3263, allocations: 145.3 kB / 0.5009 GB, free: 11.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3263, allocations: 9.875 kB / 0.501 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3264, allocations: 384 / 0.501 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3264, allocations: 3.953 kB / 0.501 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3265, allocations: 23.98 kB / 0.501 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3265, allocations: 4 kB / 0.501 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.3266, allocations: 19.78 kB / 0.501 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.3266, allocations: 11.94 kB / 0.501 GB, free: 11.42 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 ($whenCondition1,$PRE.table.nextTimeEvent,table.nextTimeEvent,$PRE.table.nextTimeEventScaled,table.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.3267, allocations: 137.9 kB / 0.5011 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.3268, allocations: 19.72 kB / 0.5012 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.3271, allocations: 139.3 kB / 0.5013 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3271, allocations: 3.938 kB / 0.5013 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3271, allocations: 3.953 kB / 0.5013 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3271, allocations: 0 / 0.5013 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.3273, allocations: 253.5 kB / 0.5015 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3273, allocations: 0 / 0.5015 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-05/0.3274, allocations: 16 kB / 0.5016 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3275, allocations: 7.984 kB / 0.5016 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3275, allocations: 0 / 0.5016 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3275, allocations: 7.984 kB / 0.5016 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3275, allocations: 0 / 0.5016 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.3278, allocations: 195 kB / 0.5018 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.3279, allocations: 108.8 kB / 0.5019 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.3279, allocations: 7.938 kB / 0.5019 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.659e-05/0.328, allocations: 16.05 kB / 0.5019 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3281, allocations: 7.984 kB / 0.5019 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.3281, allocations: 4 kB / 0.5019 GB, free: 10.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001821/0.3283, allocations: 204.4 kB / 0.5021 GB, free: 10.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3283, allocations: 0 / 0.5021 GB, free: 10.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.3286, allocations: 55.94 kB / 0.5022 GB, free: 10.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008957/0.3295, allocations: 469.4 kB / 0.5026 GB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.3297, allocations: 79.91 kB / 0.5027 GB, free: 9.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3297, allocations: 3.938 kB / 0.5027 GB, free: 9.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.3298, allocations: 39.92 kB / 0.5027 GB, free: 9.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.33, allocations: 40.53 kB / 0.5028 GB, free: 9.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.3307, allocations: 0.5028 MB / 0.5032 GB, free: 9.191 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.331, allocations: 0.7399 MB / 0.504 GB, free: 8.426 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.577e-05/0.3311, allocations: 37.41 kB / 0.504 GB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.3311, allocations: 15.44 kB / 0.504 GB, free: 8.371 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3311, allocations: 0 / 0.504 GB, free: 8.371 MB / 378.7 MB Notification: Performance of Templates: time 0.004768/0.3359, allocations: 2.383 MB / 0.5063 GB, free: 6.012 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile (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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1)