Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.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.Loads.Examples.LoadCtrl,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") [/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.1927/0.1934, allocations: 82.21 MB / 0.5935 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02122/0.2147, allocations: 17.23 MB / 0.6103 GB, free: 4.699 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01585/0.2306, allocations: 9.336 MB / 0.6194 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.2325, allocations: 55.75 kB / 0.6195 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.2337, allocations: 353.4 kB / 0.6198 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.2372, allocations: 1.107 MB / 0.6209 GB, free: 9.832 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.2395, allocations: 0.6741 MB / 0.6215 GB, free: 9.156 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005527/0.2451, allocations: 4.407 MB / 0.6258 GB, free: 4.734 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008566/0.2536, allocations: 5.581 MB / 0.6313 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003367/0.257, allocations: 1.296 MB / 0.6326 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/0.2607, allocations: 1.624 MB / 0.6341 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004266/0.2612, allocations: 152 kB / 0.6343 GB, free: 12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.2625, allocations: 351.6 kB / 0.6346 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.2638, allocations: 1.118 MB / 0.6357 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008262/0.2646, allocations: 0.5083 MB / 0.6362 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005223/0.2698, allocations: 4.437 MB / 0.6406 GB, free: 5.574 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2699, allocations: 4 kB / 0.6406 GB, free: 5.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2699, allocations: 0 / 0.6406 GB, free: 5.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000164/0.2701, allocations: 0 / 0.6406 GB, free: 5.57 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 644 * Number of variables: 644 Notification: Performance of Generate backend data structure: time 0.006058/0.2761, allocations: 2.396 MB / 0.6429 GB, free: 3.102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001263/0.2763, allocations: 12.03 kB / 0.6429 GB, free: 3.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.2792, allocations: 0.5043 MB / 0.6434 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.282, allocations: 1.466 MB / 0.6448 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.2822, allocations: 214.5 kB / 0.645 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/0.2826, allocations: 240 kB / 0.6453 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007281/0.2899, allocations: 3.861 MB / 0.649 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.983e-05/0.29, allocations: 3.938 kB / 0.649 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.2903, allocations: 104 kB / 0.6491 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004142/0.2907, allocations: 176.9 kB / 0.6493 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005176/0.2959, allocations: 3.103 MB / 0.6523 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.3107, allocations: 10.82 MB / 0.6629 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.312, allocations: 0.7509 MB / 0.6636 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000713/0.3127, allocations: 0.5219 MB / 0.6641 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/0.313, allocations: 89.55 kB / 0.6642 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008389/0.3138, allocations: 0.5969 MB / 0.6648 GB, free: 12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=56): time 2.124e-06/0.3138, allocations: 0 / 0.6648 GB, free: 12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78): time 0.02354/0.3374, allocations: 8.847 MB / 0.6735 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/0.3376, allocations: 410.2 kB / 0.6738 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.3394, allocations: 1.234 MB / 0.6751 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.93e-05/0.3395, allocations: 41.7 kB / 0.6751 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.3406, allocations: 1.227 MB / 0.6763 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004388/0.341, allocations: 280.2 kB / 0.6766 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/0.3411, allocations: 32 kB / 0.6766 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002346/0.3413, allocations: 365.9 kB / 0.6769 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.3425, allocations: 0.7534 MB / 0.6777 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.344, allocations: 1.453 MB / 0.6791 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.3456, allocations: 1.115 MB / 0.6802 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.3456, allocations: 7.938 kB / 0.6802 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008055/0.3537, allocations: 3.551 MB / 0.6837 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007669/0.3545, allocations: 0.8357 MB / 0.6845 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/0.3545, allocations: 20 kB / 0.6845 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005435/0.3599, allocations: 1.435 MB / 0.6859 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.361, allocations: 299.5 kB / 0.6862 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3536/0.7147, allocations: 10.66 MB / 0.6966 GB, free: 84.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.7165, allocations: 139.3 kB / 0.6967 GB, free: 84.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.7166, allocations: 85.33 kB / 0.6968 GB, free: 84.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.7167, allocations: 2.906 kB / 0.6968 GB, free: 84.25 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006335/0.723, allocations: 3.023 MB / 0.6998 GB, free: 84.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/0.7232, allocations: 26.47 kB / 0.6998 GB, free: 84.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003564/0.7267, allocations: 0.9398 MB / 0.7007 GB, free: 84.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.7282, allocations: 333.8 kB / 0.701 GB, free: 84.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008345/0.7366, allocations: 5.928 MB / 0.7068 GB, free: 81.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.7382, allocations: 125.2 kB / 0.7069 GB, free: 81.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.7384, allocations: 78.91 kB / 0.707 GB, free: 81.42 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.002044/0.7405, allocations: 1.115 MB / 0.7081 GB, free: 80.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.7407, allocations: 129.9 kB / 0.7082 GB, free: 80.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006553/0.7473, allocations: 2.577 MB / 0.7107 GB, free: 80.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.7473, allocations: 8.125 kB / 0.7107 GB, free: 80.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.7473, allocations: 4.25 kB / 0.7107 GB, free: 80.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.7474, allocations: 8.906 kB / 0.7108 GB, free: 80.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.7584, allocations: 5.166 MB / 0.7158 GB, free: 78.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.7584, allocations: 5.312 kB / 0.7158 GB, free: 78.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.7588, allocations: 94.56 kB / 0.7159 GB, free: 78.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004749/0.7636, allocations: 1.324 MB / 0.7172 GB, free: 77.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.7637, allocations: 22.62 kB / 0.7172 GB, free: 77.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/0.7757, allocations: 10.34 MB / 0.7273 GB, free: 69.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.7757, allocations: 7 kB / 0.7273 GB, free: 69.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007035/0.7828, allocations: 3.582 MB / 0.7308 GB, free: 67.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006811/0.7835, allocations: 330.3 kB / 0.7311 GB, free: 67.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.7837, allocations: 19.75 kB / 0.7311 GB, free: 67.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/0.7845, allocations: 90.06 kB / 0.7312 GB, free: 67.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002856/0.7848, allocations: 72.27 kB / 0.7313 GB, free: 67.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.7849, allocations: 25.55 kB / 0.7313 GB, free: 67.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001078/0.7859, allocations: 0.8278 MB / 0.7321 GB, free: 66.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.786, allocations: 0 / 0.7321 GB, free: 66.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003443/0.7894, allocations: 0.8621 MB / 0.733 GB, free: 66.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (load_ctrl.vCTRL_1.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002359/0.7896, allocations: 132.3 kB / 0.7331 GB, free: 66.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007396/0.7971, allocations: 4.44 MB / 0.7374 GB, free: 63.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.7971, allocations: 3.234 kB / 0.7374 GB, free: 63.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002714/0.7998, allocations: 1.606 MB / 0.739 GB, free: 62.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.8016, allocations: 359 kB / 0.7393 GB, free: 61.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006867/0.8085, allocations: 5.138 MB / 0.7444 GB, free: 56.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.81, allocations: 2.01 MB / 0.7463 GB, free: 54.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001752/0.8118, allocations: 0.6798 MB / 0.747 GB, free: 53.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.812, allocations: 79.44 kB / 0.7471 GB, free: 53.73 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/0.812, allocations: 0 / 0.7471 GB, free: 53.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.03992/0.8519, allocations: 29.37 MB / 0.7758 GB, free: 24.73 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1) Environment - environmentSimulation: