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.001068/0.001068, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.431/1.431, allocations: 222.9 MB / 239 MB, free: 4.742 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.001252/0.001252, allocations: 196.4 kB / 289.3 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03396/0.03396, allocations: 8.803 MB / 348.2 MB, free: 4.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 78.98 kB / 410.7 MB, free: 42.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07809/0.07955, allocations: 51.57 MB / 462.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003568/0.08317, allocations: 2.21 MB / 464.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.08526, allocations: 1.522 MB / 466 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.08539, allocations: 7.938 kB / 466 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.08575, allocations: 95.72 kB / 466.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.08606, allocations: 103.6 kB / 466.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.08638, allocations: 107.8 kB / 466.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.08664, allocations: 223.1 kB / 466.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.08679, allocations: 49.66 kB / 466.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.08692, allocations: 91.62 kB / 466.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/0.09798, allocations: 111.6 kB / 466.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.09804, allocations: 19.94 kB / 466.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.09824, allocations: 75.91 kB / 466.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.09833, allocations: 51.83 kB / 466.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.09846, allocations: 83.48 kB / 467 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.09885, allocations: 251.5 kB / 467.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.09886, allocations: 0 / 467.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09887, allocations: 0 / 467.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.09888, allocations: 0 / 467.2 MB, free: 9.727 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.0007115/0.0996, allocations: 0.5168 MB / 467.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.09965, allocations: 12.03 kB / 467.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.09969, allocations: 42.73 kB / 467.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.09977, allocations: 24.66 kB / 467.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1, allocations: 249 kB / 468.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1001, allocations: 8.609 kB / 468.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.1001, allocations: 11.94 kB / 468.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.1004, allocations: 145.5 kB / 468.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1004, allocations: 0 / 468.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.1004, allocations: 8 kB / 468.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1004, allocations: 4 kB / 468.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.1006, allocations: 68.66 kB / 468.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000762/0.1014, allocations: 0.5611 MB / 468.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.1017, allocations: 106.7 kB / 469 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.1018, allocations: 36.78 kB / 469 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1018, allocations: 0 / 469 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.1021, allocations: 101.1 kB / 469.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1021, allocations: 0 / 469.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.000374/0.1025, allocations: 153.3 kB / 469.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.1026, allocations: 103.2 kB / 469.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.1028, allocations: 273 kB / 469.6 MB, free: 7.094 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1029, allocations: 29.7 kB / 469.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.1029, allocations: 147.7 kB / 469.8 MB, free: 6.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.103, allocations: 39.48 kB / 469.8 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.1031, allocations: 25.72 kB / 469.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1032, allocations: 342.7 kB / 470.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.1033, allocations: 23.98 kB / 470.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1034, allocations: 70.97 kB / 470.3 MB, free: 6.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1035, allocations: 99.39 kB / 470.4 MB, free: 6.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1035, allocations: 0 / 470.4 MB, free: 6.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002625/0.1038, allocations: 133.3 kB / 470.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1038, allocations: 7.938 kB / 470.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1038, allocations: 7.984 kB / 470.5 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1039, allocations: 4.094 kB / 470.5 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.104, allocations: 23.94 kB / 470.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.104, allocations: 4 kB / 470.6 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.856e-05/0.1041, allocations: 19.83 kB / 470.6 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1041, allocations: 4 kB / 470.6 MB, free: 6.07 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.0001257/0.1042, allocations: 142.4 kB / 470.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1043, allocations: 19.81 kB / 470.7 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.1043, allocations: 21.7 kB / 470.8 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1043, allocations: 8 kB / 470.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1044, allocations: 0 / 470.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1044, allocations: 0 / 470.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.1046, allocations: 245.4 kB / 471 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1046, allocations: 0 / 471 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.1047, allocations: 15.98 kB / 471 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1047, allocations: 0 / 471 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1047, allocations: 4 kB / 471 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1047, allocations: 0 / 471 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1047, allocations: 0 / 471 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.105, allocations: 188.7 kB / 471.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.1051, allocations: 92.94 kB / 471.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.1051, allocations: 8 kB / 471.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.1052, allocations: 8 kB / 471.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.1053, allocations: 7.984 kB / 471.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1053, allocations: 8 kB / 471.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.1055, allocations: 200.5 kB / 471.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1055, allocations: 8 kB / 471.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1057, allocations: 47.94 kB / 471.6 MB, free: 4.973 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.001386/0.1071, allocations: 1.076 MB / 472.7 MB, free: 4.047 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1073, allocations: 79.91 kB / 472.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1074, allocations: 0 / 472.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-05/0.1074, allocations: 35.92 kB / 472.8 MB, free: 3.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1077, allocations: 41.78 kB / 472.8 MB, free: 3.895 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.1099, allocations: 2.119 MB / 474.9 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1102, allocations: 0.7319 MB / 475.7 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.167e-05/0.1103, allocations: 25.52 kB / 475.7 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.1104, allocations: 59.42 kB / 475.8 MB, free: 0.832 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1104, allocations: 0 / 475.8 MB, free: 0.832 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.1279, allocations: 4.615 MB / 480.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/0.1282, allocations: 232.4 kB / 480.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/1.921, allocations: 8 kB / 480.6 MB, free: 12.07 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)