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: translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.328/1.328, allocations: 222.9 MB / 240.1 MB, free: 4.375 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.001242/0.001242, allocations: 196.4 kB / 290.4 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0361/0.0361, allocations: 8.798 MB / 349.3 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 83.88 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08837, allocations: 51.56 MB / 0.504 GB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.005151/0.09356, allocations: 2.177 MB / 0.5062 GB, free: 7.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.09602, allocations: 0.943 MB / 0.5071 GB, free: 6.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.0962, allocations: 4 kB / 0.5071 GB, free: 6.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.09664, allocations: 103.5 kB / 0.5072 GB, free: 6.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.0971, allocations: 111.4 kB / 0.5073 GB, free: 6.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.09765, allocations: 127.6 kB / 0.5074 GB, free: 6.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000401/0.09806, allocations: 219.2 kB / 0.5076 GB, free: 5.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.09828, allocations: 53.66 kB / 0.5077 GB, free: 5.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.0985, allocations: 91.62 kB / 0.5078 GB, free: 5.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.09874, allocations: 103.7 kB / 0.5079 GB, free: 5.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.0988, allocations: 12 kB / 0.5079 GB, free: 5.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.09898, allocations: 55.92 kB / 0.5079 GB, free: 5.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.215e-05/0.09908, allocations: 43.84 kB / 0.508 GB, free: 5.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.09923, allocations: 91.45 kB / 0.5081 GB, free: 5.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.09967, allocations: 223.2 kB / 0.5083 GB, free: 5.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.09968, allocations: 0 / 0.5083 GB, free: 5.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09969, allocations: 0 / 0.5083 GB, free: 5.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.09972, allocations: 4 kB / 0.5083 GB, free: 5.137 MB / 350.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.0009445/0.1007, allocations: 0.4971 MB / 0.5088 GB, free: 4.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1007, allocations: 8.031 kB / 0.5088 GB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.514e-05/0.1008, allocations: 24.69 kB / 0.5088 GB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.1013, allocations: 249 kB / 0.509 GB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1013, allocations: 8.609 kB / 0.509 GB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.1014, allocations: 24.03 kB / 0.5091 GB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.1018, allocations: 123.4 kB / 0.5092 GB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1018, allocations: 0 / 0.5092 GB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.1018, allocations: 8 kB / 0.5092 GB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1018, allocations: 0 / 0.5092 GB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.1021, allocations: 68.67 kB / 0.5093 GB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.1033, allocations: 0.5457 MB / 0.5098 GB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005291/0.1038, allocations: 106.7 kB / 0.5099 GB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.104, allocations: 36.84 kB / 0.5099 GB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.104, allocations: 0 / 0.5099 GB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.1043, allocations: 101 kB / 0.51 GB, free: 3.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.1043, allocations: 0 / 0.51 GB, free: 3.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005347/0.1049, allocations: 153.3 kB / 0.5102 GB, free: 3.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.1049, allocations: 77.11 kB / 0.5102 GB, free: 2.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.1053, allocations: 264.2 kB / 0.5105 GB, free: 2.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1054, allocations: 25.7 kB / 0.5105 GB, free: 2.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1055, allocations: 143.8 kB / 0.5107 GB, free: 2.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.1056, allocations: 39.53 kB / 0.5107 GB, free: 2.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/0.1057, allocations: 29.72 kB / 0.5107 GB, free: 2.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1058, allocations: 330.8 kB / 0.511 GB, free: 2.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.106, allocations: 27.98 kB / 0.5111 GB, free: 2.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1061, allocations: 64.22 kB / 0.5111 GB, free: 1.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.1063, allocations: 95.33 kB / 0.5112 GB, free: 1.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1063, allocations: 0 / 0.5112 GB, free: 1.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002441/0.1066, allocations: 137.3 kB / 0.5113 GB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1066, allocations: 8 kB / 0.5114 GB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1066, allocations: 0 / 0.5114 GB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1066, allocations: 4.094 kB / 0.5114 GB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1067, allocations: 27.98 kB / 0.5114 GB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1067, allocations: 0 / 0.5114 GB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/0.1068, allocations: 19.89 kB / 0.5114 GB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1069, allocations: 4 kB / 0.5114 GB, free: 1.648 MB / 350.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.0001176/0.107, allocations: 150.4 kB / 0.5115 GB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.107, allocations: 19.8 kB / 0.5116 GB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.1071, allocations: 17.41 kB / 0.5116 GB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1071, allocations: 8 kB / 0.5116 GB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1071, allocations: 4 kB / 0.5116 GB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.1071, allocations: 92.91 kB / 0.5117 GB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1072, allocations: 0 / 0.5117 GB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.1073, allocations: 8 kB / 0.5117 GB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1073, allocations: 11.92 kB / 0.5117 GB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002881/0.1076, allocations: 189.2 kB / 0.5119 GB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003663/0.108, allocations: 338.5 kB / 0.5122 GB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.565e-05/0.1081, allocations: 43.94 kB / 0.5122 GB, free: 0.7227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.1082, allocations: 193.6 kB / 0.5124 GB, free: 0.5352 MB / 350.1 MB Notification: Performance of Backend: time 3.21e-07/0.1082, allocations: 0 / 0.5124 GB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.1096, allocations: 0.4987 MB / 0.5129 GB, free: 228 kB / 350.1 MB Notification: Performance of SimCode: time 0.0008498/0.1104, allocations: 0.8736 MB / 0.5138 GB, free: 15.3 MB / 366.1 MB Notification: Performance of Templates: time 0.005102/0.1156, allocations: 2.339 MB / 0.5161 GB, free: 12.98 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile (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 & ./HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1)