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.00107/0.00107, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0367/0.0367, allocations: 8.793 MB / 25.52 MB, free: 3.746 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.362/1.362, allocations: 222.9 MB / 251.3 MB, free: 7.41 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.0009876/0.0009875, allocations: 110.2 kB / 303.6 MB, free: 14.49 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.91 kB / 366 MB, free: 156 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2086, allocations: 51.56 MB / 417.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003161/0.2118, allocations: 2.226 MB / 419.8 MB, free: 18.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2137, allocations: 1.514 MB / 421.3 MB, free: 17.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2138, allocations: 4 kB / 421.3 MB, free: 17.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.2142, allocations: 95.67 kB / 421.4 MB, free: 17.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.2144, allocations: 107.5 kB / 421.5 MB, free: 16.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.2147, allocations: 114 kB / 421.6 MB, free: 16.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.2149, allocations: 211.2 kB / 421.8 MB, free: 16.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.215, allocations: 47.77 kB / 421.8 MB, free: 16.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.2151, allocations: 91.62 kB / 421.9 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008201/0.2234, allocations: 111.6 kB / 422 MB, free: 16.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.2234, allocations: 8 kB / 422 MB, free: 16.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.2236, allocations: 59.98 kB / 422.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.2237, allocations: 43.78 kB / 422.2 MB, free: 16.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.704e-05/0.2238, allocations: 87.45 kB / 422.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.2241, allocations: 239.2 kB / 422.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2241, allocations: 0 / 422.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2241, allocations: 0 / 422.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2241, allocations: 0 / 422.5 MB, free: 15.94 MB / 298.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.0006539/0.2248, allocations: 0.5143 MB / 423 MB, free: 15.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2248, allocations: 8.031 kB / 423 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.2249, allocations: 24.73 kB / 423 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.2251, allocations: 248.9 kB / 423.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.2252, allocations: 12.61 kB / 423.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.2252, allocations: 16.12 kB / 423.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.2254, allocations: 147 kB / 423.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2255, allocations: 0 / 423.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2255, allocations: 4 kB / 423.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2255, allocations: 4 kB / 423.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.2256, allocations: 68.67 kB / 423.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.2263, allocations: 0.5572 MB / 424.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.2267, allocations: 106.7 kB / 424.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.458e-05/0.2267, allocations: 36.84 kB / 424.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.2268, allocations: 11.94 kB / 424.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.227, allocations: 97.03 kB / 424.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.227, allocations: 4 kB / 424.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000312/0.2274, allocations: 141.4 kB / 424.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2274, allocations: 106.8 kB / 424.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.2276, allocations: 280.9 kB / 424.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2276, allocations: 25.7 kB / 424.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.2277, allocations: 143.7 kB / 425 MB, free: 13.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.2277, allocations: 35.55 kB / 425 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.009e-05/0.2278, allocations: 25.72 kB / 425.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.2278, allocations: 338.8 kB / 425.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.319e-05/0.2279, allocations: 23.98 kB / 425.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.228, allocations: 77.08 kB / 425.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.2281, allocations: 87.36 kB / 425.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2281, allocations: 0 / 425.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001892/0.2283, allocations: 141.4 kB / 425.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2283, allocations: 4 kB / 425.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2283, allocations: 4 kB / 425.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2284, allocations: 0 / 425.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.278e-05/0.2285, allocations: 23.98 kB / 425.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2285, allocations: 4 kB / 425.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.2286, allocations: 15.83 kB / 425.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.2286, allocations: 8 kB / 425.8 MB, free: 12.35 MB / 298.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.272e-05/0.2287, allocations: 146.2 kB / 425.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.2287, allocations: 27.7 kB / 425.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.2287, allocations: 17.72 kB / 426 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2288, allocations: 4 kB / 426 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2288, allocations: 384 / 426 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2288, allocations: 0 / 426 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.2289, allocations: 249.4 kB / 426.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2289, allocations: 0 / 426.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.229, allocations: 15.94 kB / 426.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.229, allocations: 0 / 426.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.229, allocations: 11.98 kB / 426.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.229, allocations: 4 kB / 426.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.229, allocations: 3.938 kB / 426.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.2304, allocations: 1.476 MB / 427.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.2305, allocations: 88.92 kB / 427.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.2305, allocations: 4 kB / 427.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.2306, allocations: 4 kB / 427.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.2306, allocations: 15.86 kB / 427.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.2307, allocations: 8 kB / 427.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.2308, allocations: 204.5 kB / 428 MB, free: 9.848 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2308, allocations: 0 / 428 MB, free: 9.848 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000355/0.2312, allocations: 63.91 kB / 428.1 MB, free: 9.785 MB / 298.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.nextTimeEventScaled,table.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.00102/0.2322, allocations: 464.8 kB / 428.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.2325, allocations: 79.91 kB / 428.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2325, allocations: 3.938 kB / 428.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.017e-05/0.2326, allocations: 39.92 kB / 428.7 MB, free: 9.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2329, allocations: 28.42 kB / 428.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000786/0.2337, allocations: 0.6104 MB / 429.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.2339, allocations: 0.7361 MB / 430 MB, free: 7.941 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.617e-05/0.234, allocations: 21.53 kB / 430.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.234, allocations: 15.44 kB / 430.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.234, allocations: 0 / 430.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of Templates: time 0.005415/0.2394, allocations: 2.434 MB / 432.5 MB, free: 5.488 MB / 298.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)