Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 103.1 kB / 16.36 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.3 MB / 0.5496 GB, free: 17.41 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 76.36 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2381, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.00452/0.2427, allocations: 2.637 MB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.428/0.6707, allocations: 1.456 MB / 0.7888 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.6709, allocations: 3.625 kB / 0.7888 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006822/0.6717, allocations: 178 kB / 0.789 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.6721, allocations: 133.7 kB / 0.7891 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.6726, allocations: 187.6 kB / 0.7893 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.6729, allocations: 213.7 kB / 0.7895 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.6732, allocations: 120 kB / 0.7896 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.6733, allocations: 83.5 kB / 0.7897 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.6736, allocations: 109.7 kB / 0.7898 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.6736, allocations: 10.5 kB / 0.7898 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.6739, allocations: 179.5 kB / 0.79 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.647e-05/0.674, allocations: 68.06 kB / 0.79 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.762e-05/0.6741, allocations: 78.94 kB / 0.7901 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.6744, allocations: 288 kB / 0.7904 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6744, allocations: 1.938 kB / 0.7904 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6744, allocations: 2.688 kB / 0.7904 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.882e-06/0.6745, allocations: 0 / 0.7904 GB, free: 46.7 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006298/0.6751, allocations: 470 kB / 0.7908 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6751, allocations: 10.5 kB / 0.7908 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005071/0.6757, allocations: 61.88 kB / 0.7909 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.6759, allocations: 237 kB / 0.7911 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.6759, allocations: 8.469 kB / 0.7911 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.676, allocations: 12.19 kB / 0.7911 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.6763, allocations: 284.5 kB / 0.7914 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.6764, allocations: 0.5312 kB / 0.7914 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.6764, allocations: 6.375 kB / 0.7914 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.6764, allocations: 18.17 kB / 0.7914 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.6767, allocations: 211.8 kB / 0.7916 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.6781, allocations: 1.578 MB / 0.7932 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.6784, allocations: 320.3 kB / 0.7935 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.408e-05/0.6785, allocations: 64.8 kB / 0.7935 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.6785, allocations: 5.25 kB / 0.7935 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.6786, allocations: 38.5 kB / 0.7936 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.6786, allocations: 0 / 0.7936 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0005377/0.6791, allocations: 246.5 kB / 0.7938 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.6791, allocations: 80.48 kB / 0.7939 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.6793, allocations: 200.4 kB / 0.7941 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.6793, allocations: 25.7 kB / 0.7941 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.6794, allocations: 155.8 kB / 0.7943 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.6794, allocations: 35.52 kB / 0.7943 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.6795, allocations: 51.8 kB / 0.7943 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.6796, allocations: 327.5 kB / 0.7947 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.562e-05/0.6797, allocations: 74 kB / 0.7947 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.6798, allocations: 156.5 kB / 0.7949 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.6801, allocations: 232.3 kB / 0.7951 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6801, allocations: 2.281 kB / 0.7951 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003139/0.6804, allocations: 256.4 kB / 0.7953 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6804, allocations: 5.625 kB / 0.7953 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6804, allocations: 9.531 kB / 0.7954 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.6804, allocations: 9.188 kB / 0.7954 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.6807, allocations: 51.03 kB / 0.7954 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6807, allocations: 10.25 kB / 0.7954 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.6808, allocations: 12.89 kB / 0.7954 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.6809, allocations: 14.34 kB / 0.7954 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001248/0.681, allocations: 162.1 kB / 0.7956 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001003/0.6811, allocations: 149.1 kB / 0.7957 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001742/0.6813, allocations: 215.5 kB / 0.796 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.6813, allocations: 3.812 kB / 0.796 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002869/0.6816, allocations: 237.3 kB / 0.7962 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-06/0.6816, allocations: 3.5 kB / 0.7962 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.6816, allocations: 9.375 kB / 0.7962 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.6816, allocations: 7.688 kB / 0.7962 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.6818, allocations: 47.67 kB / 0.7962 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6818, allocations: 7.375 kB / 0.7963 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.6819, allocations: 22.11 kB / 0.7963 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.6819, allocations: 10.5 kB / 0.7963 GB, free: 43.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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 8.745e-05/0.682, allocations: 191.6 kB / 0.7965 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.6821, allocations: 14.78 kB / 0.7965 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.6823, allocations: 152.7 kB / 0.7966 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6823, allocations: 4.688 kB / 0.7966 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6823, allocations: 0 / 0.7966 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.6823, allocations: 3.953 kB / 0.7966 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007417/0.6831, allocations: 0.7213 MB / 0.7973 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.6831, allocations: 3.438 kB / 0.7973 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.587e-05/0.6832, allocations: 25.31 kB / 0.7974 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.6832, allocations: 6.594 kB / 0.7974 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.6832, allocations: 3.25 kB / 0.7974 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6832, allocations: 5.906 kB / 0.7974 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6833, allocations: 3.812 kB / 0.7974 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.6835, allocations: 385.9 kB / 0.7978 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.6836, allocations: 101.8 kB / 0.7978 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.6836, allocations: 13.64 kB / 0.7979 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.6838, allocations: 6.875 kB / 0.7979 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.6838, allocations: 21.52 kB / 0.7979 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.6838, allocations: 6.812 kB / 0.7979 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.749e-05/0.6839, allocations: 152.5 kB / 0.798 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6839, allocations: 0 / 0.798 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004815/0.6844, allocations: 65.06 kB / 0.7981 GB, free: 41.85 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0001404/0.6846, allocations: 114 kB / 0.7982 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003634/0.6849, allocations: 271.9 kB / 0.7985 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6849, allocations: 1.219 kB / 0.7985 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.804e-05/0.685, allocations: 62.41 kB / 0.7985 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.6855, allocations: 28.14 kB / 0.7986 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/0.6862, allocations: 456.3 kB / 0.799 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.6864, allocations: 0.733 MB / 0.7997 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.6865, allocations: 21.92 kB / 0.7997 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.6865, allocations: 0 / 0.7997 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.004552/0.691, allocations: 2.222 MB / 0.8019 GB, free: 40.66 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)