Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.606/1.606, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009233/0.0009234, allocations: 180.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 0.6626 GB, free: 4.324 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007876/0.0007877, allocations: 98.2 kB / 0.7808 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004578, allocations: 19.94 kB / 0.9088 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6403/0.6408, allocations: 120.3 MB / 1.026 GB, free: 55.95 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.8392, allocations: 178.3 MB / 1.2 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.8396, allocations: 102.1 kB / 1.201 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2386/1.078, allocations: 103 MB / 1.301 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.403e-06/1.078, allocations: 0 / 1.301 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001373/1.078, allocations: 67.92 kB / 1.301 GB, free: 7.984 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006356/1.085, allocations: 2.238 MB / 1.303 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.085, allocations: 8.031 kB / 1.303 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004893/1.09, allocations: 0.7394 MB / 1.304 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/1.093, allocations: 1.484 MB / 1.306 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/1.094, allocations: 193.5 kB / 1.306 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/1.095, allocations: 248.4 kB / 1.306 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009983/1.105, allocations: 4.217 MB / 1.31 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/1.105, allocations: 7.938 kB / 1.31 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007441/1.106, allocations: 112 kB / 1.31 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002142/1.106, allocations: 164.3 kB / 1.31 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006868/1.113, allocations: 3.452 MB / 1.314 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02851/1.141, allocations: 21.52 MB / 1.335 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/1.142, allocations: 0.5285 MB / 1.335 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007145/1.143, allocations: 0.4913 MB / 1.336 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/1.143, allocations: 15.98 kB / 1.336 GB, free: 2.297 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/1.143, allocations: 58.38 kB / 1.336 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=50): time 2.655e-06/1.143, allocations: 0 / 1.336 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of matching and sorting (n=56): time 0.007312/1.151, allocations: 3.995 MB / 1.34 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/1.151, allocations: 247.2 kB / 1.34 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/1.153, allocations: 1.313 MB / 1.341 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/1.153, allocations: 33.7 kB / 1.341 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007666/1.153, allocations: 1.234 MB / 1.342 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/1.154, allocations: 213.2 kB / 1.343 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/1.154, allocations: 36 kB / 1.343 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002028/1.154, allocations: 406.7 kB / 1.343 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/1.155, allocations: 0.7729 MB / 1.344 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/1.157, allocations: 1.481 MB / 1.345 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/1.159, allocations: 2.178 MB / 1.347 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/1.159, allocations: 8 kB / 1.347 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00341/1.163, allocations: 2.336 MB / 1.35 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005665/1.163, allocations: 0.7955 MB / 1.35 GB, free: 2.031 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/1.163, allocations: 20 kB / 1.35 GB, free: 2.012 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-05/1.163, allocations: 36 kB / 1.35 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/1.165, allocations: 447.2 kB / 1.351 GB, free: 1.539 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.69e-05/1.165, allocations: 47.8 kB / 1.351 GB, free: 1.492 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/1.166, allocations: 279.3 kB / 1.351 GB, free: 1.219 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/1.167, allocations: 87.97 kB / 1.351 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/1.167, allocations: 4 kB / 1.351 GB, free: 1.129 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002794/1.169, allocations: 1.999 MB / 1.353 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.575e-05/1.169, allocations: 25.75 kB / 1.353 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/1.17, allocations: 36 kB / 1.353 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.171, allocations: 404.1 kB / 1.354 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.044e-05/1.171, allocations: 55.78 kB / 1.354 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.172, allocations: 179.5 kB / 1.354 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/1.172, allocations: 79.98 kB / 1.354 GB, free: 14.37 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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.002091/1.174, allocations: 1.125 MB / 1.355 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000395/1.175, allocations: 110.6 kB / 1.355 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/1.176, allocations: 0.8709 MB / 1.356 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.176, allocations: 8.281 kB / 1.356 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.176, allocations: 4 kB / 1.356 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.176, allocations: 7.969 kB / 1.356 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.188, allocations: 8.142 MB / 1.364 GB, free: 3.875 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.159e-05/1.188, allocations: 12 kB / 1.364 GB, free: 3.863 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/1.188, allocations: 139.7 kB / 1.364 GB, free: 3.727 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/1.188, allocations: 16 kB / 1.364 GB, free: 3.711 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/1.188, allocations: 26.06 kB / 1.364 GB, free: 3.688 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/1.188, allocations: 21.19 kB / 1.364 GB, free: 3.668 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/1.188, allocations: 15.94 kB / 1.364 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/1.19, allocations: 1.822 MB / 1.366 GB, free: 1.676 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008087/1.191, allocations: 339.5 kB / 1.366 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/1.191, allocations: 27.98 kB / 1.366 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/1.193, allocations: 111.8 kB / 1.367 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.193, allocations: 83.58 kB / 1.367 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/1.193, allocations: 28 kB / 1.367 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001541/1.194, allocations: 0.9237 MB / 1.368 GB, free: 148 kB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/1.194, allocations: 0 / 1.368 GB, free: 148 kB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004/1.198, allocations: 0.8203 MB / 1.368 GB, free: 15.32 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0003126/1.199, allocations: 147.5 kB / 1.368 GB, free: 15.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003914/1.203, allocations: 2.538 MB / 1.371 GB, free: 12.64 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.203, allocations: 4.938 kB / 1.371 GB, free: 12.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005929/1.203, allocations: 453.3 kB / 1.371 GB, free: 12.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/1.207, allocations: 229.2 kB / 1.372 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008467/1.215, allocations: 5.068 MB / 1.377 GB, free: 6.727 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002761/1.218, allocations: 1.995 MB / 1.378 GB, free: 4.699 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00262/1.221, allocations: 0.8061 MB / 1.379 GB, free: 3.898 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/1.221, allocations: 87.41 kB / 1.379 GB, free: 3.812 MB / 0.948 GB Notification: Performance of SimCode: time 1.223e-06/1.221, allocations: 0 / 1.379 GB, free: 3.812 MB / 0.948 GB Notification: Performance of Templates: time 0.439/1.66, allocations: 12.92 MB / 1.392 GB, free: 195.1 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)