Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1812/0.1833, allocations: 80.83 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01934/0.2027, allocations: 16.53 MB / 0.6868 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.2132, allocations: 6.574 MB / 0.6932 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.2148, allocations: 47.88 kB / 0.6932 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.2184, allocations: 1.302 MB / 0.6945 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.2211, allocations: 0.9065 MB / 0.6954 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004543/0.2256, allocations: 1.533 MB / 0.6969 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005178/0.2308, allocations: 3.777 MB / 0.7006 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00904/0.2399, allocations: 4.96 MB / 0.7054 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005075/0.245, allocations: 1.656 MB / 0.707 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004875/0.25, allocations: 2.006 MB / 0.709 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.2514, allocations: 376 kB / 0.7094 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.2541, allocations: 0.8192 MB / 0.7102 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002661/0.2568, allocations: 1.454 MB / 0.7116 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002542/0.2594, allocations: 1.494 MB / 0.713 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.2644, allocations: 5.469 MB / 0.7184 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2644, allocations: 0 / 0.7184 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2644, allocations: 3.938 kB / 0.7184 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.491e-05/0.2645, allocations: 0 / 0.7184 GB, free: 0.9336 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 683 * Number of variables: 683 Notification: Performance of Generate backend data structure: time 0.004884/0.2694, allocations: 2.706 MB / 0.721 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.2694, allocations: 16.03 kB / 0.721 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/0.273, allocations: 0.7549 MB / 0.7218 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.2752, allocations: 1.427 MB / 0.7232 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.2754, allocations: 189.5 kB / 0.7234 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003871/0.2758, allocations: 248.4 kB / 0.7236 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006847/0.2826, allocations: 4.571 MB / 0.7281 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.417e-05/0.2827, allocations: 7.938 kB / 0.7281 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002768/0.283, allocations: 111.9 kB / 0.7282 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/0.2832, allocations: 184.2 kB / 0.7283 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005848/0.2891, allocations: 3.811 MB / 0.7321 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02081/0.3099, allocations: 15.7 MB / 0.7474 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4638/0.7738, allocations: 2.261 MB / 0.7496 GB, free: 70.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.7755, allocations: 0.7216 MB / 0.7503 GB, free: 70.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.7756, allocations: 17.52 kB / 0.7503 GB, free: 70.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.7757, allocations: 48.09 kB / 0.7504 GB, free: 70.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 3.346e-06/0.7757, allocations: 0.5625 kB / 0.7504 GB, free: 70.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.007092/0.7828, allocations: 4.199 MB / 0.7545 GB, free: 68.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.7829, allocations: 244 kB / 0.7547 GB, free: 68.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.7848, allocations: 1.114 MB / 0.7558 GB, free: 68.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.7848, allocations: 42.08 kB / 0.7558 GB, free: 68.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009419/0.7858, allocations: 1.174 MB / 0.757 GB, free: 67.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.7861, allocations: 254.3 kB / 0.7572 GB, free: 66.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006608/0.7868, allocations: 331 kB / 0.7575 GB, free: 66.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7869, allocations: 346.4 kB / 0.7579 GB, free: 66.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.7882, allocations: 0.7202 MB / 0.7586 GB, free: 66.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.7902, allocations: 1.414 MB / 0.76 GB, free: 65.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002974/0.7932, allocations: 2.182 MB / 0.7621 GB, free: 63.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.82e-05/0.7932, allocations: 6.969 kB / 0.7621 GB, free: 63.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005022/0.7983, allocations: 2.201 MB / 0.7642 GB, free: 62.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.7983, allocations: 22.91 kB / 0.7643 GB, free: 62.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.988e-05/0.7984, allocations: 24.48 kB / 0.7643 GB, free: 62.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.621e-05/0.7985, allocations: 38.34 kB / 0.7643 GB, free: 62.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.8001, allocations: 427.9 kB / 0.7647 GB, free: 62.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.419e-05/0.8002, allocations: 47.17 kB / 0.7648 GB, free: 62.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.8016, allocations: 192.5 kB / 0.765 GB, free: 62.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.8018, allocations: 88.91 kB / 0.765 GB, free: 62.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002923/0.8047, allocations: 1.554 MB / 0.7666 GB, free: 62.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001268/0.806, allocations: 1.336 MB / 0.7679 GB, free: 60.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002098/0.8081, allocations: 2.006 MB / 0.7698 GB, free: 59.33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.046e-05/0.8081, allocations: 7.25 kB / 0.7698 GB, free: 59.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003445/0.8116, allocations: 1.997 MB / 0.7718 GB, free: 58.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.8116, allocations: 15.75 kB / 0.7718 GB, free: 58.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/0.8117, allocations: 26.34 kB / 0.7718 GB, free: 58.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-05/0.8117, allocations: 37.94 kB / 0.7719 GB, free: 58.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.8131, allocations: 391.2 kB / 0.7722 GB, free: 58.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.187e-05/0.8132, allocations: 51.84 kB / 0.7723 GB, free: 58.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.8148, allocations: 153.1 kB / 0.7724 GB, free: 58.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/0.815, allocations: 87.58 kB / 0.7725 GB, free: 58.45 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005953/0.8156, allocations: 288.3 kB / 0.7728 GB, free: 58.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004337/0.816, allocations: 103.8 kB / 0.7729 GB, free: 58.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.818, allocations: 1.1 MB / 0.774 GB, free: 57.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.818, allocations: 10.25 kB / 0.774 GB, free: 57.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.818, allocations: 7.156 kB / 0.774 GB, free: 57.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.8181, allocations: 5.391 kB / 0.774 GB, free: 57.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.8334, allocations: 10.23 MB / 0.784 GB, free: 53.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-05/0.8335, allocations: 18.78 kB / 0.784 GB, free: 53.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/0.8343, allocations: 191.5 kB / 0.7842 GB, free: 53.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.137e-05/0.8344, allocations: 25.19 kB / 0.7842 GB, free: 53.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.8344, allocations: 32.7 kB / 0.7842 GB, free: 53.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-05/0.8345, allocations: 27.83 kB / 0.7843 GB, free: 53.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.977e-05/0.8345, allocations: 25.72 kB / 0.7843 GB, free: 53.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.8364, allocations: 2.184 MB / 0.7864 GB, free: 51.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/0.837, allocations: 318.6 kB / 0.7867 GB, free: 51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.8371, allocations: 43.61 kB / 0.7868 GB, free: 50.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009509/0.8381, allocations: 95.36 kB / 0.7868 GB, free: 50.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.8382, allocations: 95.16 kB / 0.7869 GB, free: 50.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.8383, allocations: 39.12 kB / 0.787 GB, free: 50.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009481/0.8392, allocations: 0.7675 MB / 0.7877 GB, free: 50.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8392, allocations: 0 / 0.7877 GB, free: 50.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003468/0.8427, allocations: 0.7011 MB / 0.7884 GB, free: 50.37 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0002865/0.843, allocations: 160.8 kB / 0.7886 GB, free: 50.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003327/0.8463, allocations: 2.541 MB / 0.791 GB, free: 49.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/0.8464, allocations: 1.875 kB / 0.791 GB, free: 49.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.847, allocations: 0.5794 MB / 0.7916 GB, free: 48.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.8491, allocations: 259.6 kB / 0.7919 GB, free: 48.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/0.8554, allocations: 4.429 MB / 0.7962 GB, free: 44.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.8571, allocations: 2.015 MB / 0.7982 GB, free: 42.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00182/0.8589, allocations: 0.8983 MB / 0.799 GB, free: 41.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.8592, allocations: 87.41 kB / 0.7991 GB, free: 41.12 MB / 0.5762 GB Notification: Performance of SimCode: time 2.365e-06/0.8592, allocations: 0 / 0.7991 GB, free: 41.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.02066/0.8799, allocations: 14.66 MB / 0.8134 GB, free: 26.61 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)