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.1851/0.1872, allocations: 80.84 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.02064/0.2079, allocations: 16.52 MB / 0.6868 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.221, allocations: 6.582 MB / 0.6932 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.223, allocations: 47.88 kB / 0.6932 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003889/0.2269, allocations: 1.295 MB / 0.6945 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003042/0.23, allocations: 0.8869 MB / 0.6954 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004705/0.2347, allocations: 1.547 MB / 0.6969 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005634/0.2404, allocations: 3.762 MB / 0.7006 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00611/0.2465, allocations: 4.964 MB / 0.7054 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/0.2501, allocations: 1.636 MB / 0.707 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003061/0.2531, allocations: 2.006 MB / 0.709 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006722/0.2538, allocations: 383.9 kB / 0.7093 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.2561, allocations: 0.8154 MB / 0.7101 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00174/0.2578, allocations: 1.447 MB / 0.7115 GB, free: 7.957 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002025/0.2599, allocations: 1.49 MB / 0.713 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006064/0.266, allocations: 5.477 MB / 0.7183 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.266, allocations: 4 kB / 0.7184 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.336e-06/0.266, allocations: 0 / 0.7184 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001318/0.2662, allocations: 3.938 kB / 0.7184 GB, free: 0.9609 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.006717/0.2729, allocations: 2.703 MB / 0.721 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2729, allocations: 8.031 kB / 0.721 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.2768, allocations: 0.7549 MB / 0.7217 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.2802, allocations: 1.435 MB / 0.7231 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.2803, allocations: 185.5 kB / 0.7233 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005992/0.281, allocations: 248.4 kB / 0.7236 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008915/0.2899, allocations: 4.571 MB / 0.728 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/0.29, allocations: 11.88 kB / 0.728 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003306/0.2904, allocations: 112 kB / 0.7281 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002589/0.2906, allocations: 180.2 kB / 0.7283 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007165/0.2978, allocations: 3.807 MB / 0.732 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02422/0.3221, allocations: 15.71 MB / 0.7474 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5442/0.8663, allocations: 2.254 MB / 0.7496 GB, free: 70.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.868, allocations: 0.724 MB / 0.7503 GB, free: 70.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.693e-05/0.868, allocations: 16.94 kB / 0.7503 GB, free: 70.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.8681, allocations: 50.3 kB / 0.7503 GB, free: 70.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 5.119e-06/0.8681, allocations: 0.5 kB / 0.7503 GB, free: 70.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.006825/0.8749, allocations: 4.199 MB / 0.7544 GB, free: 68.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.8751, allocations: 242.3 kB / 0.7547 GB, free: 68.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.877, allocations: 1.115 MB / 0.7558 GB, free: 68.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.877, allocations: 38.02 kB / 0.7558 GB, free: 68.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008217/0.8779, allocations: 1.178 MB / 0.7569 GB, free: 67.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.8781, allocations: 248.3 kB / 0.7572 GB, free: 67.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006005/0.8787, allocations: 332.7 kB / 0.7575 GB, free: 66.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8789, allocations: 345.3 kB / 0.7578 GB, free: 66.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.8801, allocations: 0.7259 MB / 0.7585 GB, free: 66.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.8818, allocations: 1.408 MB / 0.7599 GB, free: 65.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.8848, allocations: 2.189 MB / 0.7621 GB, free: 63.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/0.8848, allocations: 7.344 kB / 0.7621 GB, free: 63.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004321/0.8891, allocations: 2.195 MB / 0.7642 GB, free: 62.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.8892, allocations: 15.19 kB / 0.7642 GB, free: 62.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/0.8892, allocations: 24.52 kB / 0.7642 GB, free: 62.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.536e-05/0.8893, allocations: 41.28 kB / 0.7643 GB, free: 62.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.8908, allocations: 429.3 kB / 0.7647 GB, free: 62.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.618e-05/0.8909, allocations: 53.62 kB / 0.7647 GB, free: 62.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.8924, allocations: 197.1 kB / 0.7649 GB, free: 62.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.8925, allocations: 84.06 kB / 0.765 GB, free: 62.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003022/0.8956, allocations: 1.559 MB / 0.7665 GB, free: 62.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001409/0.897, allocations: 1.336 MB / 0.7678 GB, free: 60.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00249/0.8995, allocations: 2.005 MB / 0.7698 GB, free: 59.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.792e-05/0.8995, allocations: 7.312 kB / 0.7698 GB, free: 59.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003565/0.9031, allocations: 1.993 MB / 0.7717 GB, free: 58.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.9031, allocations: 16.08 kB / 0.7718 GB, free: 58.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/0.9032, allocations: 30.22 kB / 0.7718 GB, free: 58.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.22e-05/0.9032, allocations: 39.47 kB / 0.7718 GB, free: 58.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.9045, allocations: 390.6 kB / 0.7722 GB, free: 58.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.021e-05/0.9046, allocations: 51.56 kB / 0.7723 GB, free: 58.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.9059, allocations: 148 kB / 0.7724 GB, free: 58.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.9061, allocations: 84.44 kB / 0.7725 GB, free: 58.54 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.0006255/0.9067, allocations: 287.9 kB / 0.7727 GB, free: 58.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/0.9071, allocations: 107.5 kB / 0.7729 GB, free: 58.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.9096, allocations: 1.096 MB / 0.7739 GB, free: 57.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/0.9096, allocations: 14.03 kB / 0.7739 GB, free: 57.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.029e-05/0.9097, allocations: 3.062 kB / 0.7739 GB, free: 57.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/0.9097, allocations: 5.547 kB / 0.7739 GB, free: 57.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.9251, allocations: 10.23 MB / 0.7839 GB, free: 53.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/0.9252, allocations: 21.03 kB / 0.784 GB, free: 53.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.9259, allocations: 196 kB / 0.7841 GB, free: 53.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.63e-05/0.9259, allocations: 19.31 kB / 0.7842 GB, free: 53.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.796e-05/0.926, allocations: 36.25 kB / 0.7842 GB, free: 53.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.991e-05/0.926, allocations: 31.64 kB / 0.7842 GB, free: 53.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.831e-05/0.9261, allocations: 25.16 kB / 0.7842 GB, free: 53.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.9279, allocations: 2.179 MB / 0.7864 GB, free: 51.33 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005896/0.9285, allocations: 322.4 kB / 0.7867 GB, free: 51.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.9287, allocations: 39.7 kB / 0.7867 GB, free: 51.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008931/0.9296, allocations: 95.27 kB / 0.7868 GB, free: 51.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.9297, allocations: 102.6 kB / 0.7869 GB, free: 50.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.9298, allocations: 39.41 kB / 0.7869 GB, free: 50.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008964/0.9307, allocations: 0.765 MB / 0.7877 GB, free: 50.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9307, allocations: 0 / 0.7877 GB, free: 50.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003625/0.9343, allocations: 0.6999 MB / 0.7884 GB, free: 50.46 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.0002229/0.9346, allocations: 147 kB / 0.7885 GB, free: 50.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003465/0.938, allocations: 2.544 MB / 0.791 GB, free: 49.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.9381, allocations: 7.969 kB / 0.791 GB, free: 49.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006355/0.9387, allocations: 0.578 MB / 0.7916 GB, free: 48.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.9407, allocations: 271.5 kB / 0.7918 GB, free: 48.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/0.9467, allocations: 4.425 MB / 0.7962 GB, free: 44.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.9482, allocations: 2.015 MB / 0.7981 GB, free: 42.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001748/0.9499, allocations: 0.8916 MB / 0.799 GB, free: 41.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.9502, allocations: 87.41 kB / 0.7991 GB, free: 41.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.202e-06/0.9502, allocations: 0 / 0.7991 GB, free: 41.21 MB / 0.5762 GB Notification: Performance of Templates: time 0.02183/0.972, allocations: 14.67 MB / 0.8134 GB, free: 26.68 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)