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-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.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.001095/0.001095, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.327/1.327, allocations: 222.9 MB / 238.9 MB, free: 4.773 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.001419/0.001419, allocations: 188.5 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03303/0.03303, allocations: 8.794 MB / 348.1 MB, free: 4.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 79.19 kB / 410.5 MB, free: 42.37 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08602/0.08755, allocations: 51.56 MB / 462.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003239/0.09081, allocations: 2.201 MB / 464.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.09209, allocations: 0.9432 MB / 465.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.09218, allocations: 4 kB / 465.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.09247, allocations: 91.67 kB / 465.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.09268, allocations: 95.62 kB / 465.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.09295, allocations: 119.1 kB / 465.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.09316, allocations: 203.2 kB / 465.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.09329, allocations: 45.64 kB / 465.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.66e-05/0.09339, allocations: 87.64 kB / 465.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.09351, allocations: 103.6 kB / 465.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.09354, allocations: 8 kB / 466 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.29e-05/0.09364, allocations: 47.98 kB / 466 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.0937, allocations: 43.83 kB / 466 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.09379, allocations: 83.47 kB / 466.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.09401, allocations: 223.5 kB / 466.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.09402, allocations: 0 / 466.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.09403, allocations: 3.938 kB / 466.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.09404, allocations: 3.938 kB / 466.3 MB, free: 10.48 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.0005996/0.09465, allocations: 0.5026 MB / 466.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.09468, allocations: 8.031 kB / 466.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/0.09473, allocations: 46.73 kB / 466.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.09478, allocations: 24.66 kB / 466.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.09501, allocations: 245 kB / 467.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.09503, allocations: 8.609 kB / 467.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.09507, allocations: 15.94 kB / 467.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.0953, allocations: 119.5 kB / 467.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.09531, allocations: 0 / 467.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.09533, allocations: 4 kB / 467.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.09534, allocations: 4 kB / 467.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.0955, allocations: 76.66 kB / 467.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006825/0.09619, allocations: 0.5535 MB / 467.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.09653, allocations: 102.7 kB / 468 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.09661, allocations: 32.84 kB / 468.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.09664, allocations: 11.94 kB / 468.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.09685, allocations: 97.09 kB / 468.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.09686, allocations: 0 / 468.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003238/0.09719, allocations: 141.4 kB / 468.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.09725, allocations: 77.11 kB / 468.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.09747, allocations: 264.2 kB / 468.7 MB, free: 7.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.0975, allocations: 33.7 kB / 468.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.09759, allocations: 151.6 kB / 468.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.09762, allocations: 27.56 kB / 468.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.09767, allocations: 30.08 kB / 468.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.09779, allocations: 334.8 kB / 469.2 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.09787, allocations: 31.86 kB / 469.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.302e-05/0.09797, allocations: 68.27 kB / 469.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.09812, allocations: 95.23 kB / 469.4 MB, free: 7.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.09813, allocations: 0 / 469.4 MB, free: 7.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002278/0.09837, allocations: 141.4 kB / 469.5 MB, free: 6.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.09839, allocations: 10.47 kB / 469.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.0984, allocations: 0 / 469.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.09841, allocations: 4 kB / 469.6 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.09852, allocations: 27.92 kB / 469.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.09853, allocations: 3.984 kB / 469.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.822e-05/0.09863, allocations: 15.91 kB / 469.6 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.09864, allocations: 8 kB / 469.6 MB, free: 6.93 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.0001154/0.09876, allocations: 142.4 kB / 469.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.0988, allocations: 19.81 kB / 469.8 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.09885, allocations: 25.39 kB / 469.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.09886, allocations: 0 / 469.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.09886, allocations: 0 / 469.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.09887, allocations: 0 / 469.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.09906, allocations: 241.4 kB / 470 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.09907, allocations: 3.938 kB / 470 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.09916, allocations: 15.98 kB / 470.1 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.09917, allocations: 4 kB / 470.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.09918, allocations: 0 / 470.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.09919, allocations: 0 / 470.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.0992, allocations: 7.938 kB / 470.1 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.09951, allocations: 184.8 kB / 470.2 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.09957, allocations: 92.94 kB / 470.3 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.09961, allocations: 4 kB / 470.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.09969, allocations: 4 kB / 470.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.09973, allocations: 11.98 kB / 470.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.09975, allocations: 8.062 kB / 470.4 MB, free: 6.082 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.09991, allocations: 193.6 kB / 470.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09992, allocations: 0 / 470.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1002, allocations: 47.83 kB / 470.6 MB, free: 5.848 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.001282/0.1014, allocations: 1.017 MB / 471.6 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1016, allocations: 91.66 kB / 471.7 MB, free: 4.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1017, allocations: 0 / 471.7 MB, free: 4.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/0.1017, allocations: 31.98 kB / 471.7 MB, free: 4.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.102, allocations: 37.16 kB / 471.8 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.1042, allocations: 2.1 MB / 473.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1045, allocations: 0.7322 MB / 474.6 MB, free: 1.852 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.88e-05/0.1046, allocations: 29.53 kB / 474.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.1047, allocations: 63.34 kB / 474.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1047, allocations: 0 / 474.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.1188, allocations: 4.109 MB / 478.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/0.1191, allocations: 218.3 kB / 479 MB, free: 13.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.861, allocations: 0 / 479 MB, free: 13.5 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/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)