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.0009191/0.0009193, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.309/1.309, allocations: 223.3 MB / 239.4 MB, free: 5.406 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.001008/0.001008, allocations: 164.5 kB / 290.6 MB, free: 2.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03295/0.03295, allocations: 8.802 MB / 350.5 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 11.11 kB / 413.9 MB, free: 42.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08095/0.08133, allocations: 52.56 MB / 466.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002354/0.08372, allocations: 1.86 MB / 468.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.08576, allocations: 1.503 MB / 469.8 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.08586, allocations: 7.938 kB / 469.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.08619, allocations: 95.72 kB / 469.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.08642, allocations: 103.6 kB / 470 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.08672, allocations: 111.8 kB / 470.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.08697, allocations: 207.1 kB / 470.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.0871, allocations: 41.89 kB / 470.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.08722, allocations: 87.62 kB / 470.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.08742, allocations: 107.6 kB / 470.6 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.08745, allocations: 11.94 kB / 470.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.08757, allocations: 55.98 kB / 470.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.08764, allocations: 43.83 kB / 470.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.796e-05/0.08774, allocations: 101.2 kB / 470.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.088, allocations: 235.2 kB / 471 MB, free: 8.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.08801, allocations: 4 kB / 471 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.08802, allocations: 0 / 471 MB, free: 8.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.08803, allocations: 3.938 kB / 471 MB, free: 8.426 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.0006618/0.0887, allocations: 490.8 kB / 471.5 MB, free: 7.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.08874, allocations: 8.031 kB / 471.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.987e-05/0.08881, allocations: 46.73 kB / 471.6 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.08886, allocations: 24.66 kB / 471.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.08913, allocations: 245 kB / 471.8 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.08916, allocations: 12.61 kB / 471.8 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.0892, allocations: 23.92 kB / 471.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.08948, allocations: 145.4 kB / 472 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.0895, allocations: 0 / 472 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.08952, allocations: 4 kB / 472 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.08953, allocations: 4 kB / 472 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.08969, allocations: 72.61 kB / 472.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.09049, allocations: 0.5648 MB / 472.7 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.09085, allocations: 102.7 kB / 472.8 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.09098, allocations: 44.78 kB / 472.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.09101, allocations: 0 / 472.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.09122, allocations: 101 kB / 472.9 MB, free: 6.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.09123, allocations: 0 / 472.9 MB, free: 6.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004052/0.09164, allocations: 145.4 kB / 473 MB, free: 6.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.0917, allocations: 106.8 kB / 473.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.09197, allocations: 273 kB / 473.4 MB, free: 5.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.092, allocations: 25.7 kB / 473.4 MB, free: 5.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.09209, allocations: 143.6 kB / 473.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.09213, allocations: 31.55 kB / 473.6 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.09217, allocations: 21.7 kB / 473.6 MB, free: 5.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.09229, allocations: 338.7 kB / 474 MB, free: 5.234 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.09236, allocations: 27.98 kB / 474 MB, free: 5.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/0.09246, allocations: 77.12 kB / 474.1 MB, free: 5.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.09263, allocations: 87.38 kB / 474.1 MB, free: 5.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.09264, allocations: 32 / 474.1 MB, free: 5.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002394/0.09288, allocations: 145.3 kB / 474.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.09291, allocations: 4 kB / 474.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.09292, allocations: 0 / 474.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.09294, allocations: 4 kB / 474.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.09305, allocations: 31.92 kB / 474.3 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.09306, allocations: 0 / 474.3 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.149e-05/0.09316, allocations: 16.22 kB / 474.3 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.09318, allocations: 8.094 kB / 474.3 MB, free: 4.805 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.0001224/0.09331, allocations: 144.4 kB / 474.5 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.09334, allocations: 19.81 kB / 474.5 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.09348, allocations: 25.64 kB / 474.5 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.09349, allocations: 4 kB / 474.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.0935, allocations: 0 / 474.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.09351, allocations: 3.984 kB / 474.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.09378, allocations: 249.3 kB / 474.8 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.09379, allocations: 0 / 474.8 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.09388, allocations: 19.98 kB / 474.8 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.09389, allocations: 4 kB / 474.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.0939, allocations: 0 / 474.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.09391, allocations: 0 / 474.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.09391, allocations: 0 / 474.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.09424, allocations: 184.8 kB / 475 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.09431, allocations: 96.94 kB / 475.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.09434, allocations: 4 kB / 475.1 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.09443, allocations: 16.05 kB / 475.1 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.09447, allocations: 4 kB / 475.1 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.09449, allocations: 7.984 kB / 475.1 MB, free: 3.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.09469, allocations: 204.5 kB / 475.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.0947, allocations: 0 / 475.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000282/0.09499, allocations: 51.83 kB / 475.4 MB, free: 3.695 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.001468/0.09646, allocations: 1.066 MB / 476.4 MB, free: 2.777 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.09667, allocations: 80.03 kB / 476.5 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.09669, allocations: 4 kB / 476.5 MB, free: 2.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.09677, allocations: 35.98 kB / 476.5 MB, free: 2.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.09707, allocations: 29.55 kB / 476.6 MB, free: 2.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.09968, allocations: 2.167 MB / 478.7 MB, free: 376 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1001, allocations: 0.7321 MB / 479.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.384e-05/0.1001, allocations: 25.53 kB / 479.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.1002, allocations: 59.42 kB / 479.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1003, allocations: 0 / 479.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.1159, allocations: 4.276 MB / 483.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/0.1162, allocations: 231.3 kB / 484.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/1.897, allocations: 0 / 484.1 MB, free: 11.13 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)