Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.conf.json 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) Running command: translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004124/0.004124, allocations: 180.1 kB / 7.452 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05908/0.05908, allocations: 8.704 MB / 16.57 MB, free: 440 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.4 MB / 240.5 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000911/0.0009109, allocations: 87.09 kB / 293.5 MB, free: 7.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.184e-06/7.224e-06, allocations: 0 / 352.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2058, allocations: 52.54 MB / 404.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09723/0.303, allocations: 84.16 MB / 488.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.3033, allocations: 67.97 kB / 488.8 MB, free: 6.672 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.05656/0.3599, allocations: 22.01 MB / 0.4989 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001088/0.36, allocations: 43.88 kB / 0.4989 GB, free: 500 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.1167/0.4767, allocations: 1.508 MB / 0.5004 GB, free: 119.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.4768, allocations: 6.719 kB / 0.5004 GB, free: 119.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.4772, allocations: 179.2 kB / 0.5006 GB, free: 119.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.4786, allocations: 1.003 MB / 0.5015 GB, free: 119 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.4787, allocations: 43.72 kB / 0.5016 GB, free: 119 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.4788, allocations: 84.47 kB / 0.5017 GB, free: 119 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001916/0.4808, allocations: 1.373 MB / 0.503 GB, free: 119 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.4828, allocations: 1.663 MB / 0.5046 GB, free: 118.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.4829, allocations: 2.938 kB / 0.5046 GB, free: 118.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.483, allocations: 3.719 kB / 0.5046 GB, free: 118.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.483, allocations: 31.88 kB / 0.5047 GB, free: 118.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005823/0.4888, allocations: 4.638 MB / 0.5092 GB, free: 117.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.4894, allocations: 0.4969 MB / 0.5097 GB, free: 117.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006811/0.4901, allocations: 0.6424 MB / 0.5103 GB, free: 117.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.4901, allocations: 13.36 kB / 0.5103 GB, free: 117.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005727/0.4907, allocations: 0.5604 MB / 0.5109 GB, free: 117.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.615e-06/0.4907, allocations: 3.25 kB / 0.5109 GB, free: 117.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.003047/0.4938, allocations: 2.287 MB / 0.5131 GB, free: 117.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.4938, allocations: 143.7 kB / 0.5132 GB, free: 117.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006337/0.4945, allocations: 0.6674 MB / 0.5139 GB, free: 116.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.4945, allocations: 36.56 kB / 0.5139 GB, free: 116.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.4948, allocations: 0.5028 MB / 0.5144 GB, free: 116.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.4949, allocations: 247.1 kB / 0.5147 GB, free: 116.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.495, allocations: 3.969 kB / 0.5147 GB, free: 116.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.4951, allocations: 390.5 kB / 0.515 GB, free: 116.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.4955, allocations: 395.8 kB / 0.5154 GB, free: 116.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.496, allocations: 0.5576 MB / 0.516 GB, free: 116 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.4965, allocations: 480.4 kB / 0.5164 GB, free: 116 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4965, allocations: 0 / 0.5164 GB, free: 116 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001422/0.4979, allocations: 1.154 MB / 0.5175 GB, free: 115.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.498, allocations: 5.75 kB / 0.5175 GB, free: 115.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.498, allocations: 6.406 kB / 0.5176 GB, free: 115.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/0.4984, allocations: 166.8 kB / 0.5177 GB, free: 115.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/0.4991, allocations: 158.4 kB / 0.5179 GB, free: 115.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.5017, allocations: 2.607 MB / 0.5204 GB, free: 114.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/0.5023, allocations: 33.23 kB / 0.5204 GB, free: 114.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/0.5023, allocations: 27.91 kB / 0.5205 GB, free: 114.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,rootMeanSquare[1].mean.y_last,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.5025, allocations: 136.9 kB / 0.5206 GB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.5026, allocations: 79.22 kB / 0.5207 GB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.5029, allocations: 98.36 kB / 0.5208 GB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5029, allocations: 11.31 kB / 0.5208 GB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.5029, allocations: 3.156 kB / 0.5208 GB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.5029, allocations: 3.75 kB / 0.5208 GB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.5065, allocations: 2.383 MB / 0.5231 GB, free: 114.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5065, allocations: 4.062 kB / 0.5231 GB, free: 114.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/0.5071, allocations: 112.9 kB / 0.5232 GB, free: 114.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003413/0.5074, allocations: 177.1 kB / 0.5234 GB, free: 114 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.5075, allocations: 18.05 kB / 0.5234 GB, free: 114 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.51, allocations: 2.591 MB / 0.5259 GB, free: 112.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.51, allocations: 1.5 kB / 0.5259 GB, free: 112.7 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002061/0.5121, allocations: 1.8 MB / 0.5277 GB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.5124, allocations: 260.6 kB / 0.5279 GB, free: 112 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.5126, allocations: 16.19 kB / 0.528 GB, free: 112 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.513, allocations: 39 kB / 0.528 GB, free: 112 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.5132, allocations: 60.31 kB / 0.5281 GB, free: 112 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.5132, allocations: 23.55 kB / 0.5281 GB, free: 112 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000575/0.5138, allocations: 0.518 MB / 0.5286 GB, free: 111.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009213/0.5147, allocations: 238.2 kB / 0.5288 GB, free: 111.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001675/0.5149, allocations: 127.3 kB / 0.5289 GB, free: 111.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.5163, allocations: 1.075 MB / 0.53 GB, free: 111.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5163, allocations: 0 / 0.53 GB, free: 111.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008225/0.5171, allocations: 0.6509 MB / 0.5306 GB, free: 111 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/0.5179, allocations: 167.5 kB / 0.5308 GB, free: 111 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.5216, allocations: 2.342 MB / 0.5331 GB, free: 110.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.5226, allocations: 1.576 MB / 0.5346 GB, free: 109.3 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5226, allocations: 0.8438 kB / 0.5346 GB, free: 109.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01776/0.5404, allocations: 11.75 MB / 0.5461 GB, free: 102.8 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & ./HanserModelica_HanserModelica.Electrical.StarDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1)