Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.085/2.085, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001584/0.001584, allocations: 177.3 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001185, allocations: 89.62 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.454e-06, allocations: 0 / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5204/0.5204, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/0.7701, allocations: 178.7 MB / 1.137 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.7705, allocations: 96.83 kB / 1.137 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.3622/1.133, allocations: 99.15 MB / 1.234 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001231/1.133, allocations: 52 kB / 1.234 GB, free: 5.934 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.009034/1.142, allocations: 2.27 MB / 1.237 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.142, allocations: 12.03 kB / 1.237 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00653/1.149, allocations: 0.5706 MB / 1.237 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005363/1.154, allocations: 1.478 MB / 1.239 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/1.154, allocations: 88 kB / 1.239 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/1.155, allocations: 156 kB / 1.239 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01126/1.167, allocations: 3.354 MB / 1.242 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/1.18, allocations: 3.936 MB / 1.246 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.7e-05/1.18, allocations: 3.938 kB / 1.246 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004598/1.181, allocations: 4 kB / 1.246 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/1.181, allocations: 148.6 kB / 1.246 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4098/1.591, allocations: 19.79 MB / 1.265 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/1.593, allocations: 1.083 MB / 1.266 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/1.595, allocations: 0.7794 MB / 1.267 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/1.595, allocations: 107.7 kB / 1.267 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.595, allocations: 44.28 kB / 1.267 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 3.687e-06/1.595, allocations: 0 / 1.267 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=92): time 0.01236/1.607, allocations: 3.952 MB / 1.271 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/1.607, allocations: 142.5 kB / 1.271 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/1.609, allocations: 0.8576 MB / 1.272 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.609, allocations: 25.7 kB / 1.272 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005168/1.609, allocations: 1.147 MB / 1.273 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/1.61, allocations: 319.8 kB / 1.274 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/1.61, allocations: 0 / 1.274 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.61, allocations: 408.2 kB / 1.274 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/1.612, allocations: 0.8723 MB / 1.275 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/1.614, allocations: 1.499 MB / 1.276 GB, free: 161 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004377/1.618, allocations: 1.47 MB / 1.278 GB, free: 161 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/1.618, allocations: 3.562 kB / 1.278 GB, free: 161 MB / 0.8542 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.007005/1.625, allocations: 2.667 MB / 1.28 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00155/1.627, allocations: 8.332 MB / 1.288 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.615e-05/1.627, allocations: 20.62 kB / 1.289 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.588e-05/1.627, allocations: 33.34 kB / 1.289 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/1.632, allocations: 0.5082 MB / 1.289 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-05/1.632, allocations: 44.86 kB / 1.289 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/1.634, allocations: 95.5 kB / 1.289 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/1.634, allocations: 84.38 kB / 1.289 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/1.634, allocations: 4.594 kB / 1.289 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006602/1.641, allocations: 2.511 MB / 1.292 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/1.641, allocations: 22.03 kB / 1.292 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.929e-05/1.641, allocations: 36.28 kB / 1.292 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004525/1.646, allocations: 0.5031 MB / 1.292 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.4e-05/1.646, allocations: 46.98 kB / 1.292 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/1.647, allocations: 77.12 kB / 1.292 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/1.648, allocations: 85.06 kB / 1.292 GB, free: 152.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 211 * 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.0003925/1.648, allocations: 163.7 kB / 1.293 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/1.648, allocations: 97.47 kB / 1.293 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00503/1.653, allocations: 1.98 MB / 1.295 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/1.653, allocations: 7.469 kB / 1.295 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.653, allocations: 3.906 kB / 1.295 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.653, allocations: 3.609 kB / 1.295 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02407/1.678, allocations: 15.43 MB / 1.31 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/1.678, allocations: 18.34 kB / 1.31 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.679, allocations: 195.6 kB / 1.31 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.071e-05/1.679, allocations: 27.62 kB / 1.31 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.183e-05/1.679, allocations: 31.94 kB / 1.31 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.662e-05/1.679, allocations: 40.17 kB / 1.31 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.106e-05/1.679, allocations: 30 kB / 1.31 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003701/1.683, allocations: 3.085 MB / 1.313 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007193/1.684, allocations: 343 kB / 1.313 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/1.684, allocations: 28.3 kB / 1.313 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.685, allocations: 53.48 kB / 1.313 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.686, allocations: 111.9 kB / 1.314 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-05/1.686, allocations: 52.36 kB / 1.314 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001211/1.687, allocations: 0.6851 MB / 1.314 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00372/1.691, allocations: 0.7934 MB / 1.315 GB, free: 143.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 89 * 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 Backend phase and start with SimCode phase: time 0.0003416/1.691, allocations: 180.9 kB / 1.315 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005725/1.697, allocations: 3.002 MB / 1.318 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/1.697, allocations: 3.094 kB / 1.318 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/1.698, allocations: 0.6305 MB / 1.319 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/1.699, allocations: 156.5 kB / 1.319 GB, free: 143 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009817/1.709, allocations: 4.13 MB / 1.323 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003707/1.713, allocations: 2.273 MB / 1.325 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/1.713, allocations: 3.5 kB / 1.325 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.05721/1.77, allocations: 23.47 MB / 1.348 GB, free: 139.8 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)