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_RLC_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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.4761/0.4783, allocations: 80.82 MB / 0.5904 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.00981/0.4881, allocations: 9.97 MB / 0.6002 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005291/0.4936, allocations: 3.352 MB / 0.6034 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.4943, allocations: 35.81 kB / 0.6035 GB, free: 9.379 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.4957, allocations: 0.5985 MB / 0.6041 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.4972, allocations: 0.7811 MB / 0.6048 GB, free: 8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.4986, allocations: 0.7341 MB / 0.6055 GB, free: 7.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.5007, allocations: 2.953 MB / 0.6084 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/0.5029, allocations: 2.616 MB / 0.611 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.5044, allocations: 1.235 MB / 0.6122 GB, free: 432 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.5063, allocations: 1.582 MB / 0.6137 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.5066, allocations: 236 kB / 0.614 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009575/0.5076, allocations: 0.4955 MB / 0.6144 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.5086, allocations: 1.056 MB / 0.6155 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.5099, allocations: 1.093 MB / 0.6165 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003836/0.5138, allocations: 3.63 MB / 0.6201 GB, free: 8.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5138, allocations: 0 / 0.6201 GB, free: 8.312 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5138, allocations: 0 / 0.6201 GB, free: 8.312 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.72e-05/0.5138, allocations: 0 / 0.6201 GB, free: 8.312 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.004345/0.5182, allocations: 2.142 MB / 0.6222 GB, free: 6.113 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5183, allocations: 8.031 kB / 0.6222 GB, free: 6.105 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008948/0.5272, allocations: 1.309 MB / 0.6235 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.5298, allocations: 1.243 MB / 0.6247 GB, free: 3.504 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.5299, allocations: 119.3 kB / 0.6248 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003489/0.5302, allocations: 148.3 kB / 0.6249 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005357/0.5356, allocations: 3.413 MB / 0.6283 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/0.5357, allocations: 11.94 kB / 0.6283 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/0.5359, allocations: 67.97 kB / 0.6283 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002372/0.5361, allocations: 199.1 kB / 0.6285 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004569/0.5407, allocations: 3.12 MB / 0.6316 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/0.5571, allocations: 12.06 MB / 0.6434 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.5596, allocations: 1.9 MB / 0.6452 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.5616, allocations: 1.58 MB / 0.6468 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.996e-05/0.5617, allocations: 16.98 kB / 0.6468 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.5618, allocations: 39.56 kB / 0.6468 GB, free: 12.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=104): time 2.795e-06/0.5618, allocations: 0 / 0.6468 GB, free: 12.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=183): time 0.1532/0.7149, allocations: 40.23 MB / 0.6861 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.715, allocations: 73.41 kB / 0.6862 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.7167, allocations: 1.12 MB / 0.6873 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004502/0.7171, allocations: 57.64 kB / 0.6873 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005885/0.7177, allocations: 0.7951 MB / 0.6881 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007078/0.7184, allocations: 0.6239 MB / 0.6887 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00079/0.7192, allocations: 375.3 kB / 0.6891 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.7193, allocations: 305.1 kB / 0.6893 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/0.7223, allocations: 2.151 MB / 0.6914 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003175/0.7255, allocations: 2.507 MB / 0.6939 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006156/0.7317, allocations: 4.837 MB / 0.6986 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.7317, allocations: 4 kB / 0.6986 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02078/0.7525, allocations: 9.95 MB / 0.7083 GB, free: 12.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.7526, allocations: 8 kB / 0.7083 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.7526, allocations: 8 kB / 0.7084 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01739/0.77, allocations: 5.584 MB / 0.7138 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009527/0.771, allocations: 211.6 kB / 0.714 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4731/1.244, allocations: 42.41 MB / 0.7554 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.246, allocations: 169.7 kB / 0.7556 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/1.247, allocations: 69.41 kB / 0.7557 GB, free: 141.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (13,33,74.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001548/1.248, allocations: 0.8213 MB / 0.7565 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/1.249, allocations: 138.8 kB / 0.7566 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02202/1.271, allocations: 9.776 MB / 0.7661 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.607e-05/1.271, allocations: 20.72 kB / 0.7662 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000146/1.271, allocations: 33.47 kB / 0.7662 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/1.271, allocations: 7.172 kB / 0.7662 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02477/1.296, allocations: 14.59 MB / 0.7804 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/1.296, allocations: 4 kB / 0.7804 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/1.296, allocations: 127.8 kB / 0.7806 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01527/1.312, allocations: 5.255 MB / 0.7857 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004084/1.312, allocations: 32.98 kB / 0.7857 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04473/1.357, allocations: 38.35 MB / 0.8232 GB, free: 89.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.357, allocations: 4 kB / 0.8232 GB, free: 89.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/1.375, allocations: 9.227 MB / 0.8322 GB, free: 80.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.376, allocations: 0.6827 MB / 0.8329 GB, free: 79.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/1.376, allocations: 46.52 kB / 0.8329 GB, free: 79.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/1.378, allocations: 143.8 kB / 0.833 GB, free: 79.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001503/1.379, allocations: 157.7 kB / 0.8332 GB, free: 79.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.38, allocations: 48 kB / 0.8332 GB, free: 79.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001122/1.381, allocations: 0.7851 MB / 0.834 GB, free: 78.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/1.381, allocations: 4 kB / 0.834 GB, free: 78.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004391/1.385, allocations: 1.02 MB / 0.835 GB, free: 77.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,79.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003754/1.386, allocations: 139.9 kB / 0.8351 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01142/1.397, allocations: 7.631 MB / 0.8426 GB, free: 69.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/1.397, allocations: 4 kB / 0.8426 GB, free: 69.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007451/1.405, allocations: 4.179 MB / 0.8467 GB, free: 65.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/1.406, allocations: 250 kB / 0.8469 GB, free: 65.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/1.414, allocations: 5.515 MB / 0.8523 GB, free: 59.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/1.416, allocations: 1.874 MB / 0.8541 GB, free: 57.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000892/1.417, allocations: 386.6 kB / 0.8545 GB, free: 57.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/1.417, allocations: 67.36 kB / 0.8546 GB, free: 57.16 MB / 0.5762 GB Notification: Performance of SimCode: time 1.703e-06/1.417, allocations: 0 / 0.8546 GB, free: 57.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.07931/1.496, allocations: 62.28 MB / 0.9154 GB, free: 11.05 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)