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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008548/0.0008548, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8885/0.8885, allocations: 177.1 MB / 200.3 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 164.6 kB / 257 MB, free: 12.97 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.0324/0.0324, allocations: 6.656 MB / 266.9 MB, free: 3.223 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 285.6 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.554e-05, allocations: 6.25 kB / 285.6 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.1124/0.1124, allocations: 2.183 MB / 287.8 MB, free: 21.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1136, allocations: 1.087 MB / 288.9 MB, free: 20.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.1137, allocations: 6.125 kB / 288.9 MB, free: 20.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.114, allocations: 108 kB / 289 MB, free: 20.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.1143, allocations: 153.8 kB / 289.2 MB, free: 20.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.1145, allocations: 98.67 kB / 289.3 MB, free: 20.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.1148, allocations: 232 kB / 289.5 MB, free: 20.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1149, allocations: 38.06 kB / 289.5 MB, free: 20.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.115, allocations: 125.5 kB / 289.6 MB, free: 20.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1151, allocations: 92.55 kB / 289.7 MB, free: 20.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1152, allocations: 17.12 kB / 289.8 MB, free: 20.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.1152, allocations: 54.16 kB / 289.8 MB, free: 20.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.1153, allocations: 52.47 kB / 289.9 MB, free: 20.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.1154, allocations: 50.72 kB / 289.9 MB, free: 20.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1156, allocations: 179.4 kB / 290.1 MB, free: 20.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1156, allocations: 0.75 kB / 290.1 MB, free: 20.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1156, allocations: 1.094 kB / 290.1 MB, free: 20.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1156, allocations: 0.5938 kB / 290.1 MB, free: 20.24 MB / 266.7 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.0004255/0.116, allocations: 426.6 kB / 290.5 MB, free: 19.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.116, allocations: 10.31 kB / 290.5 MB, free: 19.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.1161, allocations: 24.84 kB / 290.5 MB, free: 19.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1162, allocations: 167.5 kB / 290.7 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1163, allocations: 12.7 kB / 290.7 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1163, allocations: 13.47 kB / 290.7 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1164, allocations: 137 kB / 290.9 MB, free: 19.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1164, allocations: 5.156 kB / 290.9 MB, free: 19.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1164, allocations: 5.828 kB / 290.9 MB, free: 19.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1165, allocations: 2.406 kB / 290.9 MB, free: 19.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.806e-05/0.1165, allocations: 30.3 kB / 290.9 MB, free: 19.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1169, allocations: 367.9 kB / 291.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1171, allocations: 123 kB / 291.4 MB, free: 19.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.1171, allocations: 16.8 kB / 291.4 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.1171, allocations: 2.375 kB / 291.4 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.928e-05/0.1172, allocations: 113.9 kB / 291.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1172, allocations: 0 / 291.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001293/0.1173, allocations: 88.09 kB / 291.6 MB, free: 19.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.1174, allocations: 84.41 kB / 291.7 MB, free: 19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1175, allocations: 225.9 kB / 291.9 MB, free: 18.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.1175, allocations: 31.48 kB / 291.9 MB, free: 18.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.1175, allocations: 124.4 kB / 292.1 MB, free: 18.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1175, allocations: 34.97 kB / 292.1 MB, free: 18.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.1176, allocations: 33.67 kB / 292.1 MB, free: 18.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.828e-05/0.1176, allocations: 328.6 kB / 292.4 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.1176, allocations: 14.36 kB / 292.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.404e-05/0.1177, allocations: 72.92 kB / 292.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.227e-05/0.1177, allocations: 71.33 kB / 292.6 MB, free: 18.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1177, allocations: 0 / 292.6 MB, free: 18.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.361e-05/0.1178, allocations: 89.88 kB / 292.7 MB, free: 18.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1178, allocations: 6.094 kB / 292.7 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1178, allocations: 5 kB / 292.7 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1178, allocations: 4.531 kB / 292.7 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.1179, allocations: 26.62 kB / 292.7 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.1179, allocations: 2.188 kB / 292.7 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.118, allocations: 19.53 kB / 292.7 MB, free: 18.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.118, allocations: 3.969 kB / 292.7 MB, free: 18.14 MB / 266.7 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 4.968e-05/0.118, allocations: 128 kB / 292.9 MB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.118, allocations: 13.73 kB / 292.9 MB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/0.1181, allocations: 89.31 kB / 293 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1181, allocations: 1.125 kB / 293 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1181, allocations: 0 / 293 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1181, allocations: 1.766 kB / 293 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.1182, allocations: 110.2 kB / 293.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1182, allocations: 1.453 kB / 293.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.1183, allocations: 15.34 kB / 293.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1183, allocations: 2.906 kB / 293.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1183, allocations: 5.672 kB / 293.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1183, allocations: 1.719 kB / 293.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1183, allocations: 7.875 kB / 293.1 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1184, allocations: 116.5 kB / 293.2 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.1185, allocations: 23.94 kB / 293.3 MB, free: 17.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1185, allocations: 5.719 kB / 293.3 MB, free: 17.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.1185, allocations: 6.578 kB / 293.3 MB, free: 17.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.1185, allocations: 14.55 kB / 293.3 MB, free: 17.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1185, allocations: 5.438 kB / 293.3 MB, free: 17.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.1186, allocations: 79.05 kB / 293.4 MB, free: 17.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1186, allocations: 1.594 kB / 293.4 MB, free: 17.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000136/0.1187, allocations: 43.81 kB / 293.4 MB, free: 17.72 MB / 266.7 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.nextTimeEvent,table.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0009141/0.1197, allocations: 0.5171 MB / 293.9 MB, free: 17.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.171e-05/0.1197, allocations: 53.28 kB / 294 MB, free: 17.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1198, allocations: 5.406 kB / 294 MB, free: 17.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.334e-05/0.1198, allocations: 33.09 kB / 294 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.1199, allocations: 41.08 kB / 294.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/0.1204, allocations: 391.2 kB / 294.4 MB, free: 17.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.292e-05/0.1205, allocations: 80.84 kB / 294.5 MB, free: 17.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.448e-05/0.1205, allocations: 22.11 kB / 294.5 MB, free: 17.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1206, allocations: 79.19 kB / 294.6 MB, free: 17.16 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1206, allocations: 0 / 294.6 MB, free: 17.16 MB / 266.7 MB Notification: Performance of Templates: time 0.00391/0.1245, allocations: 2.333 MB / 296.9 MB, free: 16.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5891373809427023]