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.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Electrical.TablesFromFile,fileNamePrefix="HanserModelica_HanserModelica_Electrical_TablesFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.TablesFromFile,fileNamePrefix="HanserModelica_HanserModelica_Electrical_TablesFromFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 238.9 MB, free: 4.758 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 188.5 kB / 289.1 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03338/0.03338, allocations: 8.795 MB / 348.1 MB, free: 4.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 82.89 kB / 410.5 MB, free: 42.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08315, allocations: 51.56 MB / 462.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003629/0.08683, allocations: 2.222 MB / 464.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.08896, allocations: 1.522 MB / 465.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/0.08907, allocations: 4 kB / 465.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.0894, allocations: 91.69 kB / 465.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.08965, allocations: 95.62 kB / 466 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.08994, allocations: 122.4 kB / 466.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.09018, allocations: 207.2 kB / 466.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.09033, allocations: 49.64 kB / 466.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.09044, allocations: 87.58 kB / 466.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.09348, allocations: 103.6 kB / 466.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.09353, allocations: 12 kB / 466.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.09371, allocations: 67.91 kB / 466.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.0938, allocations: 39.84 kB / 466.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.09394, allocations: 87.47 kB / 466.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.09431, allocations: 247.5 kB / 467 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.09432, allocations: 0 / 467 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09433, allocations: 0 / 467 MB, free: 9.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.09434, allocations: 0 / 467 MB, free: 9.824 MB / 302.1 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.0007705/0.09512, allocations: 0.5073 MB / 467.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.09517, allocations: 8.031 kB / 467.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.09522, allocations: 46.73 kB / 467.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.09528, allocations: 28.66 kB / 467.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.09556, allocations: 241 kB / 467.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.09558, allocations: 8.609 kB / 467.8 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.09562, allocations: 19.92 kB / 467.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.09591, allocations: 145.4 kB / 468 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.09593, allocations: 4 kB / 468 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.09595, allocations: 4 kB / 468 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.09596, allocations: 4 kB / 468 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.09613, allocations: 68.67 kB / 468.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/0.09689, allocations: 0.5494 MB / 468.6 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.09728, allocations: 114.7 kB / 468.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.09737, allocations: 32.84 kB / 468.8 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.0974, allocations: 3.984 kB / 468.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.09765, allocations: 105 kB / 468.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.09766, allocations: 4 kB / 468.9 MB, free: 7.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003446/0.09801, allocations: 149.2 kB / 469 MB, free: 7.598 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.09808, allocations: 106.8 kB / 469.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.09835, allocations: 269 kB / 469.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.09837, allocations: 33.64 kB / 469.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.993e-05/0.09848, allocations: 151.7 kB / 469.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.09852, allocations: 31.55 kB / 469.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.09857, allocations: 25.72 kB / 469.6 MB, free: 6.941 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.09869, allocations: 342.8 kB / 470 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.09877, allocations: 20 kB / 470 MB, free: 6.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.09888, allocations: 75.38 kB / 470.1 MB, free: 6.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.09903, allocations: 99.33 kB / 470.1 MB, free: 6.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.09904, allocations: 0 / 470.1 MB, free: 6.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000232/0.09928, allocations: 137.3 kB / 470.3 MB, free: 6.238 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.0993, allocations: 4 kB / 470.3 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.09931, allocations: 3.938 kB / 470.3 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.09933, allocations: 4 kB / 470.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.09944, allocations: 23.98 kB / 470.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.09946, allocations: 4.094 kB / 470.3 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/0.09956, allocations: 19.84 kB / 470.3 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.09958, allocations: 7.984 kB / 470.3 MB, free: 6.172 MB / 302.1 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 0.0001353/0.09972, allocations: 142.4 kB / 470.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.09976, allocations: 15.81 kB / 470.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.09981, allocations: 25.7 kB / 470.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.09982, allocations: 0 / 470.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.09983, allocations: 8 kB / 470.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.09984, allocations: 4 kB / 470.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.1001, allocations: 245.5 kB / 470.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1001, allocations: 0 / 470.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.069e-05/0.1002, allocations: 16 kB / 470.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1002, allocations: 0 / 470.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1002, allocations: 4 kB / 470.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/0.1002, allocations: 0 / 470.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1002, allocations: 3.938 kB / 470.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.1006, allocations: 197 kB / 471 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.1006, allocations: 88.95 kB / 471.1 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.1007, allocations: 8 kB / 471.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.1008, allocations: 7.984 kB / 471.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.1008, allocations: 4 kB / 471.1 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1008, allocations: 3.984 kB / 471.1 MB, free: 5.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.101, allocations: 204.5 kB / 471.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.101, allocations: 0 / 471.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1013, allocations: 51.92 kB / 471.4 MB, free: 5.07 MB / 302.1 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.001473/0.1028, allocations: 1.067 MB / 472.4 MB, free: 4.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.103, allocations: 75.91 kB / 472.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.103, allocations: 0 / 472.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.271e-05/0.1031, allocations: 39.92 kB / 472.5 MB, free: 4.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.1034, allocations: 32.55 kB / 472.6 MB, free: 4.008 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.1056, allocations: 2.124 MB / 474.7 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1059, allocations: 0.74 MB / 475.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.383e-05/0.106, allocations: 21.55 kB / 475.5 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.95e-05/0.1061, allocations: 59.41 kB / 475.5 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1061, allocations: 3.938 kB / 475.5 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.1228, allocations: 4.493 MB / 480 MB, free: 12.55 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.1231, allocations: 243.7 kB / 480.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/1.899, allocations: 0 / 480.2 MB, free: 12.29 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_TablesFromFile_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_TablesFromFile.fmu > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1)