Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.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.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",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.001294/0.001294, 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.295/1.295, allocations: 223.2 MB / 238.9 MB, free: 5.465 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.001183/0.001183, allocations: 181 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03213/0.03213, allocations: 8.783 MB / 350 MB, free: 4.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 10.09 kB / 413.2 MB, free: 42.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.083/0.08334, allocations: 52.56 MB / 465.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.002196/0.08558, allocations: 1.745 MB / 467.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.08687, allocations: 0.8893 MB / 468.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.08697, allocations: 0 / 468.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.08728, allocations: 99.66 kB / 468.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.0875, allocations: 95.7 kB / 468.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.08777, allocations: 106.9 kB / 468.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.08799, allocations: 151.6 kB / 468.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.08812, allocations: 37.94 kB / 468.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.08823, allocations: 75.75 kB / 468.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.08836, allocations: 83.66 kB / 469 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.08839, allocations: 8 kB / 469 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.08847, allocations: 31.94 kB / 469 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.08853, allocations: 39.89 kB / 469.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.08858, allocations: 57.56 kB / 469.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.08878, allocations: 175.5 kB / 469.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.08879, allocations: 0 / 469.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.0888, allocations: 0 / 469.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.08881, allocations: 0 / 469.3 MB, free: 9.809 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.00062/0.08943, allocations: 478.7 kB / 469.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.08948, allocations: 8.031 kB / 469.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.08953, allocations: 42.56 kB / 469.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.08959, allocations: 35.66 kB / 469.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.08985, allocations: 235.8 kB / 470.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.08988, allocations: 8.234 kB / 470.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.08991, allocations: 15.98 kB / 470.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.09014, allocations: 115.5 kB / 470.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.09016, allocations: 4 kB / 470.2 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.09018, allocations: 4 kB / 470.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.09019, allocations: 7.953 kB / 470.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.09034, allocations: 68.66 kB / 470.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.09109, allocations: 0.5458 MB / 470.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.09145, allocations: 114.7 kB / 471 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.09149, allocations: 3.984 kB / 471 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.09172, allocations: 101.2 kB / 471.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.09173, allocations: 3.938 kB / 471.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003221/0.09206, allocations: 145.4 kB / 471.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.09211, allocations: 85.06 kB / 471.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.09236, allocations: 260.2 kB / 471.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.09239, allocations: 29.7 kB / 471.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.208e-05/0.09249, allocations: 147.6 kB / 471.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.09252, allocations: 31.56 kB / 471.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.09254, allocations: 4 kB / 471.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.09266, allocations: 330.8 kB / 472.1 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.021e-05/0.09273, allocations: 31.98 kB / 472.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.09282, allocations: 64.28 kB / 472.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.546e-05/0.09291, allocations: 31.98 kB / 472.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.09292, allocations: 0 / 472.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002223/0.09314, allocations: 145.3 kB / 472.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.09317, allocations: 4 kB / 472.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.09318, allocations: 4 kB / 472.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.0932, allocations: 0 / 472.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.09331, allocations: 23.98 kB / 472.4 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.09333, allocations: 4 kB / 472.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/0.09342, allocations: 15.86 kB / 472.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.09344, allocations: 11.94 kB / 472.4 MB, free: 6.43 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.0001136/0.09356, allocations: 139.8 kB / 472.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.09359, allocations: 19.81 kB / 472.6 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.09364, allocations: 21.39 kB / 472.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.09365, allocations: 4 kB / 472.6 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.09366, allocations: 0 / 472.6 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.09367, allocations: 0 / 472.6 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.09388, allocations: 245.4 kB / 472.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.09389, allocations: 0 / 472.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.843e-05/0.09397, allocations: 12 kB / 472.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.09398, allocations: 384 / 472.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.094, allocations: 11.98 kB / 472.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.09401, allocations: 3.938 kB / 472.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.09402, allocations: 0 / 472.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.09433, allocations: 188.7 kB / 473 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.0944, allocations: 92.94 kB / 473.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.09443, allocations: 0 / 473.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.09451, allocations: 12 kB / 473.1 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.09456, allocations: 12.05 kB / 473.2 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.09457, allocations: 0 / 473.2 MB, free: 5.586 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.09474, allocations: 201.6 kB / 473.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09475, allocations: 0 / 473.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.09499, allocations: 43.84 kB / 473.4 MB, free: 5.348 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.001289/0.09628, allocations: 1.024 MB / 474.4 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.09649, allocations: 75.91 kB / 474.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.0965, allocations: 0 / 474.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.777e-05/0.09659, allocations: 43.91 kB / 474.5 MB, free: 4.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.09682, allocations: 29.55 kB / 474.6 MB, free: 4.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.09847, allocations: 1.603 MB / 476.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.09876, allocations: 0.74 MB / 476.9 MB, free: 1.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.005e-05/0.09883, allocations: 21.53 kB / 476.9 MB, free: 1.863 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.09892, allocations: 59.41 kB / 477 MB, free: 1.805 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09893, allocations: 0 / 477 MB, free: 1.805 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.1124, allocations: 3.85 MB / 480.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.1126, allocations: 200.9 kB / 481 MB, free: 13.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/1.742, allocations: 3.125 kB / 481 MB, free: 13.84 MB / 318.1 MB (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Tables_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Tables.fmu > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) Environment - environmentSimulation: