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.0007517/0.0007516, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.376/1.376, allocations: 223.2 MB / 239 MB, free: 5.453 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.001034/0.001034, allocations: 172.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.0328/0.0328, allocations: 8.782 MB / 350.1 MB, free: 4.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003925, allocations: 11.41 kB / 413.3 MB, free: 43.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 52.56 MB / 465.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.002459/0.1063, allocations: 1.786 MB / 467.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1078, allocations: 0.8893 MB / 468.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1079, allocations: 0 / 468.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.1083, allocations: 91.69 kB / 468.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1085, allocations: 95.61 kB / 468.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.1089, allocations: 106 kB / 468.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.1092, allocations: 187.3 kB / 469 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1093, allocations: 41.94 kB / 469 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1095, allocations: 79.69 kB / 469.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1096, allocations: 95.53 kB / 469.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1096, allocations: 8 kB / 469.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1097, allocations: 39.98 kB / 469.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.98e-05/0.1098, allocations: 39.84 kB / 469.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.1099, allocations: 57.58 kB / 469.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1101, allocations: 171.6 kB / 469.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1101, allocations: 4 kB / 469.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1101, allocations: 0 / 469.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1101, allocations: 0 / 469.5 MB, free: 9.691 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.0006709/0.1108, allocations: 482.6 kB / 470 MB, free: 9.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1109, allocations: 12.03 kB / 470 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.1109, allocations: 46.55 kB / 470 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.111, allocations: 27.67 kB / 470.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.1113, allocations: 243.7 kB / 470.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1113, allocations: 12.23 kB / 470.3 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.1113, allocations: 8 kB / 470.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.1116, allocations: 119.5 kB / 470.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1116, allocations: 0 / 470.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1116, allocations: 4 kB / 470.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1116, allocations: 7.953 kB / 470.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.1118, allocations: 72.61 kB / 470.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000794/0.1126, allocations: 0.5497 MB / 471.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.113, allocations: 110.7 kB / 471.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/0.1131, allocations: 32.84 kB / 471.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.1131, allocations: 4 kB / 471.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.1133, allocations: 101.1 kB / 471.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.1133, allocations: 4 kB / 471.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003497/0.1137, allocations: 145.4 kB / 471.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.1138, allocations: 81.06 kB / 471.5 MB, free: 7.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.114, allocations: 260.1 kB / 471.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1141, allocations: 29.7 kB / 471.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1142, allocations: 151.6 kB / 472 MB, free: 6.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1142, allocations: 31.55 kB / 472 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.1142, allocations: 0 / 472 MB, free: 6.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1144, allocations: 335.2 kB / 472.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.1144, allocations: 23.98 kB / 472.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.472e-05/0.1145, allocations: 66.52 kB / 472.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.99e-05/0.1146, allocations: 36 kB / 472.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1146, allocations: 7.969 kB / 472.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002251/0.1149, allocations: 141.2 kB / 472.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1149, allocations: 4 kB / 472.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1149, allocations: 4 kB / 472.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1149, allocations: 0 / 472.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.115, allocations: 23.98 kB / 472.6 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1151, allocations: 7.953 kB / 472.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.466e-05/0.1151, allocations: 15.89 kB / 472.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1152, allocations: 8.094 kB / 472.7 MB, free: 6.266 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.0001186/0.1153, allocations: 146.4 kB / 472.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.1153, allocations: 15.81 kB / 472.8 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.1154, allocations: 21.41 kB / 472.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1154, allocations: 0 / 472.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1154, allocations: 4 kB / 472.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.1154, allocations: 7.938 kB / 472.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.1156, allocations: 233.5 kB / 473.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1156, allocations: 3.984 kB / 473.1 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.871e-05/0.1157, allocations: 20 kB / 473.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1157, allocations: 0 / 473.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1157, allocations: 0 / 473.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1157, allocations: 4 kB / 473.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.1157, allocations: 0 / 473.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.1161, allocations: 188.7 kB / 473.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.1161, allocations: 92.95 kB / 473.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.1162, allocations: 0 / 473.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.1163, allocations: 16.05 kB / 473.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.1163, allocations: 11.92 kB / 473.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1163, allocations: 4 kB / 473.4 MB, free: 5.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1165, allocations: 193.6 kB / 473.6 MB, free: 5.227 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1165, allocations: 0 / 473.6 MB, free: 5.227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.1168, allocations: 43.83 kB / 473.6 MB, free: 5.184 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.001352/0.1181, allocations: 1.014 MB / 474.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1183, allocations: 75.91 kB / 474.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1183, allocations: 11.88 kB / 474.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.411e-05/0.1184, allocations: 35.92 kB / 474.8 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.1187, allocations: 41.7 kB / 474.8 MB, free: 4.145 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1204, allocations: 1.155 MB / 476 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1207, allocations: 0.7399 MB / 476.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.271e-05/0.1208, allocations: 13.55 kB / 476.7 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/0.1209, allocations: 63.41 kB / 476.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1209, allocations: 0 / 476.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.1371, allocations: 3.86 MB / 480.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.1373, allocations: 204.8 kB / 480.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/1.894, allocations: 0 / 480.9 MB, free: 14.12 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: