Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [/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.1672/0.1693, allocations: 80.85 MB / 0.6707 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02423/0.1935, allocations: 23.09 MB / 0.6932 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.2048, allocations: 6.956 MB / 0.7 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002436/0.2073, allocations: 99.44 kB / 0.7001 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004107/0.2115, allocations: 1.48 MB / 0.7015 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005107/0.2166, allocations: 1.953 MB / 0.7034 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.2203, allocations: 1.442 MB / 0.7049 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007779/0.2281, allocations: 6.784 MB / 0.7115 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009051/0.2372, allocations: 6.929 MB / 0.7182 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/0.2418, allocations: 2.812 MB / 0.721 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005255/0.2471, allocations: 3.517 MB / 0.7244 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009793/0.2481, allocations: 0.5234 MB / 0.7249 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.2506, allocations: 1.174 MB / 0.7261 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002398/0.2531, allocations: 2.409 MB / 0.7284 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003007/0.2561, allocations: 2.474 MB / 0.7309 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008458/0.2645, allocations: 8.425 MB / 0.7391 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.2646, allocations: 0 / 0.7391 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2646, allocations: 0 / 0.7391 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002228/0.2648, allocations: 0 / 0.7391 GB, free: 11.65 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1044 * Number of variables: 1044 Notification: Performance of Generate backend data structure: time 0.009922/0.2747, allocations: 4.4 MB / 0.7434 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.2748, allocations: 12.02 kB / 0.7434 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008541/0.2834, allocations: 1.653 MB / 0.745 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006859/0.2902, allocations: 2.692 MB / 0.7476 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.2905, allocations: 275.6 kB / 0.7479 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.2918, allocations: 360.3 kB / 0.7482 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.461/0.7528, allocations: 7.452 MB / 0.7555 GB, free: 67.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/0.753, allocations: 15.95 kB / 0.7555 GB, free: 67.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005739/0.7536, allocations: 159 kB / 0.7557 GB, free: 67.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008646/0.7545, allocations: 485.8 kB / 0.7561 GB, free: 66.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01463/0.7691, allocations: 5.678 MB / 0.7617 GB, free: 65.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03929/0.8084, allocations: 25 MB / 0.7861 GB, free: 47.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/0.8115, allocations: 2.298 MB / 0.7883 GB, free: 46.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/0.8147, allocations: 2.351 MB / 0.7906 GB, free: 45.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.8149, allocations: 16.09 kB / 0.7907 GB, free: 45.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.8149, allocations: 55.77 kB / 0.7907 GB, free: 45.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 4.439e-06/0.8149, allocations: 0 / 0.7907 GB, free: 45.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=251): time 0.2918/1.107, allocations: 74.71 MB / 0.8637 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/1.107, allocations: 77.41 kB / 0.8637 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/1.11, allocations: 1.683 MB / 0.8654 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0007578/1.11, allocations: 65.7 kB / 0.8655 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001605/1.112, allocations: 1.735 MB / 0.8671 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.113, allocations: 0.846 MB / 0.868 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/1.115, allocations: 497.2 kB / 0.8684 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.115, allocations: 305.1 kB / 0.8687 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004156/1.119, allocations: 2.905 MB / 0.8716 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004728/1.124, allocations: 3.507 MB / 0.875 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009419/1.133, allocations: 6.791 MB / 0.8816 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/1.133, allocations: 8 kB / 0.8816 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03316/1.166, allocations: 14.68 MB / 0.896 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/1.166, allocations: 19.88 kB / 0.896 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/1.166, allocations: 20.16 kB / 0.896 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02938/1.196, allocations: 8.909 MB / 0.9047 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.197, allocations: 308 kB / 0.905 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08483/1.282, allocations: 55.47 MB / 0.9592 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/1.285, allocations: 183.8 kB / 0.9594 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/1.286, allocations: 100 kB / 0.9595 GB, free: 3.195 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,60.4%), (19,19,58.4%), (12,18,50.0%), (12,18,50.0%), (12,10,53.5%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002866/1.289, allocations: 1.609 MB / 0.961 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006814/1.289, allocations: 245.1 kB / 0.9613 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03313/1.322, allocations: 14.8 MB / 0.9757 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.982e-05/1.323, allocations: 28 kB / 0.9757 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000185/1.323, allocations: 47.98 kB / 0.9758 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.165e-05/1.323, allocations: 11.95 kB / 0.9758 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04558/1.368, allocations: 21.03 MB / 0.9963 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-05/1.368, allocations: 4 kB / 0.9963 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000877/1.369, allocations: 167.7 kB / 0.9965 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02944/1.399, allocations: 8.687 MB / 1.005 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006009/1.399, allocations: 48 kB / 1.005 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6018/2.001, allocations: 54.62 MB / 1.058 GB, free: 267.2 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-05/2.001, allocations: 12.72 kB / 1.058 GB, free: 267.2 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04047/2.042, allocations: 14.38 MB / 1.072 GB, free: 266.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003001/2.045, allocations: 0.9064 MB / 1.073 GB, free: 266.4 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007233/2.046, allocations: 53.69 kB / 1.073 GB, free: 266.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/2.048, allocations: 173 kB / 1.074 GB, free: 266.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001526/2.05, allocations: 244.3 kB / 1.074 GB, free: 266.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002738/2.05, allocations: 66.78 kB / 1.074 GB, free: 266.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002239/2.052, allocations: 1.132 MB / 1.075 GB, free: 266 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.91e-07/2.052, allocations: 0 / 1.075 GB, free: 266 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00823/2.06, allocations: 1.612 MB / 1.076 GB, free: 265.9 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,52.8%), (12,18,50.0%), (19,19,56.5%), (12,10,53.5%), (12,18,50.0%), (14,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007874/2.061, allocations: 165.6 kB / 1.077 GB, free: 265.7 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02611/2.087, allocations: 10.93 MB / 1.087 GB, free: 262 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-05/2.088, allocations: 0 / 1.087 GB, free: 262 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01783/2.105, allocations: 7.301 MB / 1.094 GB, free: 259.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/2.109, allocations: 0.5583 MB / 1.095 GB, free: 259.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/2.124, allocations: 9.087 MB / 1.104 GB, free: 255.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003796/2.128, allocations: 3.254 MB / 1.107 GB, free: 253.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001163/2.129, allocations: 412.5 kB / 1.107 GB, free: 253.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/2.13, allocations: 103.4 kB / 1.108 GB, free: 253.4 MB / 0.795 GB Notification: Performance of SimCode: time 1.633e-06/2.13, allocations: 0 / 1.108 GB, free: 253.4 MB / 0.795 GB Notification: Performance of Templates: time 0.1213/2.251, allocations: 96.58 MB / 1.202 GB, free: 158.2 MB / 0.795 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)