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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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.001081/0.001086, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.284/1.284, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001248/0.001248, allocations: 184 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03176/0.03176, allocations: 8.793 MB / 350.1 MB, free: 4.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 13.08 kB / 413.2 MB, free: 42.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.09458, allocations: 52.56 MB / 465.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003037/0.09767, allocations: 1.753 MB / 467.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.09985, allocations: 1.46 MB / 468.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.09998, allocations: 4 kB / 468.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1003, allocations: 91.67 kB / 469 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.1006, allocations: 107.7 kB / 469.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.101, allocations: 106.5 kB / 469.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.1013, allocations: 151.7 kB / 469.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1014, allocations: 29.95 kB / 469.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1016, allocations: 79.69 kB / 469.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.102, allocations: 95.64 kB / 469.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.102, allocations: 8 kB / 469.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1022, allocations: 43.92 kB / 469.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.1022, allocations: 39.84 kB / 469.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.1023, allocations: 57.58 kB / 469.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.1026, allocations: 183.5 kB / 469.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1026, allocations: 0 / 469.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1026, allocations: 0 / 469.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1026, allocations: 0 / 469.9 MB, free: 9.289 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.000743/0.1033, allocations: 494.6 kB / 470.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1034, allocations: 16.03 kB / 470.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.095e-05/0.1035, allocations: 42.56 kB / 470.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.1035, allocations: 27.66 kB / 470.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.1038, allocations: 243.8 kB / 470.7 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1039, allocations: 8.234 kB / 470.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.1039, allocations: 12 kB / 470.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.1042, allocations: 137.5 kB / 470.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1042, allocations: 3.984 kB / 470.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.1042, allocations: 11.94 kB / 470.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1042, allocations: 7.953 kB / 470.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.1044, allocations: 76.59 kB / 471 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.1052, allocations: 0.5495 MB / 471.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.1056, allocations: 102.7 kB / 471.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.1056, allocations: 0 / 471.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.1059, allocations: 101.1 kB / 471.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1059, allocations: 0 / 471.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003374/0.1062, allocations: 145.6 kB / 471.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.1063, allocations: 106.8 kB / 472 MB, free: 7.004 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.1066, allocations: 280.8 kB / 472.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1067, allocations: 29.7 kB / 472.3 MB, free: 6.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.1068, allocations: 147.7 kB / 472.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.1068, allocations: 39.53 kB / 472.5 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.1068, allocations: 4 kB / 472.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1069, allocations: 326.8 kB / 472.8 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.107, allocations: 27.98 kB / 472.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.47e-05/0.1071, allocations: 69.12 kB / 472.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.41e-05/0.1072, allocations: 39.97 kB / 472.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1072, allocations: 0 / 472.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002288/0.1075, allocations: 133.4 kB / 473 MB, free: 5.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1075, allocations: 5.875 kB / 473 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1075, allocations: 0 / 473 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1075, allocations: 4 kB / 473 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1076, allocations: 31.92 kB / 473.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1076, allocations: 4.094 kB / 473.1 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.653e-05/0.1078, allocations: 28.16 kB / 473.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1078, allocations: 4 kB / 473.1 MB, free: 5.801 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 ($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.0001301/0.1079, allocations: 144 kB / 473.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.1079, allocations: 23.72 kB / 473.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.108, allocations: 21.66 kB / 473.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.108, allocations: 4 kB / 473.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.108, allocations: 3.984 kB / 473.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.108, allocations: 4 kB / 473.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.1082, allocations: 237.5 kB / 473.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1082, allocations: 0 / 473.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.032e-05/0.1083, allocations: 12 kB / 473.6 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1083, allocations: 3.984 kB / 473.6 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1084, allocations: 4 kB / 473.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1084, allocations: 0 / 473.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1084, allocations: 0 / 473.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.1087, allocations: 188.8 kB / 473.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.1088, allocations: 100.8 kB / 473.8 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.1088, allocations: 8 kB / 473.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.1089, allocations: 7.984 kB / 473.9 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.1089, allocations: 7.938 kB / 473.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.109, allocations: 4 kB / 473.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.1091, allocations: 204.5 kB / 474.1 MB, free: 4.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1092, allocations: 0 / 474.1 MB, free: 4.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1094, allocations: 47.92 kB / 474.1 MB, free: 4.703 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 (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.001478/0.1109, allocations: 1.062 MB / 475.2 MB, free: 3.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1111, allocations: 79.91 kB / 475.3 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1111, allocations: 0 / 475.3 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.1112, allocations: 35.92 kB / 475.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1115, allocations: 37.69 kB / 475.3 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.1133, allocations: 1.623 MB / 477 MB, free: 1.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1136, allocations: 0.7322 MB / 477.7 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.1137, allocations: 25.52 kB / 477.7 MB, free: 1.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.1138, allocations: 59.42 kB / 477.8 MB, free: 1.113 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1138, allocations: 0 / 477.8 MB, free: 1.113 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.1284, allocations: 4.199 MB / 482 MB, free: 13.05 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.1286, allocations: 218.7 kB / 482.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.807, allocations: 0 / 482.2 MB, free: 12.81 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/linux/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) Environment - environmentSimulation: