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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [/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.2429/0.2455, allocations: 80.84 MB / 0.6707 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03105/0.2766, allocations: 22.27 MB / 0.6924 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.2925, allocations: 6.685 MB / 0.6989 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003723/0.2963, allocations: 99.5 kB / 0.699 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005648/0.302, allocations: 1.543 MB / 0.7005 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007319/0.3093, allocations: 1.828 MB / 0.7023 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004691/0.3141, allocations: 1.335 MB / 0.7036 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009648/0.3237, allocations: 5.839 MB / 0.7093 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008722/0.3325, allocations: 6.037 MB / 0.7152 GB, free: 4.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005318/0.3378, allocations: 2.422 MB / 0.7176 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00631/0.3442, allocations: 2.913 MB / 0.7204 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001991/0.3462, allocations: 456 kB / 0.7209 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004368/0.3506, allocations: 1.092 MB / 0.7219 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004527/0.3552, allocations: 1.98 MB / 0.7239 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005955/0.3612, allocations: 2.12 MB / 0.7259 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.3742, allocations: 7.206 MB / 0.733 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.827e-05/0.3743, allocations: 4 kB / 0.733 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.876e-06/0.3743, allocations: 3.938 kB / 0.733 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000335/0.3746, allocations: 4 kB / 0.733 GB, free: 1.934 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 904 * Number of variables: 904 Notification: Performance of Generate backend data structure: time 0.01297/0.3876, allocations: 3.781 MB / 0.7367 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.3877, allocations: 8.031 kB / 0.7367 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006729/0.3944, allocations: 1.198 MB / 0.7378 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/0.4005, allocations: 2.332 MB / 0.7401 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.4007, allocations: 238.3 kB / 0.7403 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.4018, allocations: 311.9 kB / 0.7406 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.4149, allocations: 6.184 MB / 0.7467 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.79e-05/0.415, allocations: 15.88 kB / 0.7467 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000409/0.4154, allocations: 135.9 kB / 0.7468 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005244/0.416, allocations: 406.2 kB / 0.7472 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.518/0.934, allocations: 4.643 MB / 0.7518 GB, free: 68.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04524/0.9793, allocations: 22.08 MB / 0.7733 GB, free: 54.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/0.9822, allocations: 1.452 MB / 0.7747 GB, free: 54.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002842/0.9851, allocations: 1.512 MB / 0.7762 GB, free: 53.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.9853, allocations: 11.62 kB / 0.7762 GB, free: 53.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.9853, allocations: 51.91 kB / 0.7763 GB, free: 53.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 5.49e-06/0.9853, allocations: 0 / 0.7763 GB, free: 53.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=179): time 0.1442/1.13, allocations: 35.93 MB / 0.8114 GB, free: 29.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/1.13, allocations: 69.41 kB / 0.8114 GB, free: 28.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/1.132, allocations: 1.427 MB / 0.8128 GB, free: 27.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005168/1.133, allocations: 53.7 kB / 0.8129 GB, free: 27.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000792/1.133, allocations: 1.522 MB / 0.8144 GB, free: 25.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008083/1.134, allocations: 0.6136 MB / 0.815 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008764/1.135, allocations: 383.3 kB / 0.8153 GB, free: 24.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/1.135, allocations: 305.1 kB / 0.8156 GB, free: 24.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/1.137, allocations: 1.831 MB / 0.8174 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/1.14, allocations: 2.389 MB / 0.8197 GB, free: 20.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00473/1.144, allocations: 4.484 MB / 0.8241 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/1.145, allocations: 8 kB / 0.8241 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01583/1.16, allocations: 8.518 MB / 0.8324 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/1.16, allocations: 16.56 kB / 0.8325 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/1.16, allocations: 20 kB / 0.8325 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/1.174, allocations: 4.495 MB / 0.8369 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.175, allocations: 303.5 kB / 0.8372 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05247/1.227, allocations: 33.18 MB / 0.8696 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/1.23, allocations: 127.9 kB / 0.8697 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003148/1.23, allocations: 84 kB / 0.8698 GB, free: 15.8 MB / 0.6231 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 {(11,13,91.7%), (11,13,93.4%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002701/1.233, allocations: 1.332 MB / 0.8711 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005846/1.234, allocations: 201.5 kB / 0.8712 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01852/1.252, allocations: 8.402 MB / 0.8795 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/1.252, allocations: 21.08 kB / 0.8795 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.596e-05/1.252, allocations: 24 kB / 0.8795 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.305e-05/1.252, allocations: 15.89 kB / 0.8795 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03043/1.283, allocations: 12.94 MB / 0.8922 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/1.283, allocations: 4 kB / 0.8922 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008649/1.284, allocations: 168.6 kB / 0.8923 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01523/1.299, allocations: 4.357 MB / 0.8966 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005017/1.3, allocations: 32 kB / 0.8966 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05344/1.353, allocations: 32.84 MB / 0.9287 GB, free: 2.41 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/1.353, allocations: 15.88 kB / 0.9287 GB, free: 2.395 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.371, allocations: 8.198 MB / 0.9367 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/1.373, allocations: 0.6351 MB / 0.9373 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/1.373, allocations: 40.75 kB / 0.9374 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.375, allocations: 107.8 kB / 0.9375 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008787/1.376, allocations: 172.9 kB / 0.9376 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.376, allocations: 51.98 kB / 0.9377 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001391/1.377, allocations: 0.9588 MB / 0.9386 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/1.377, allocations: 0 / 0.9386 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004093/1.381, allocations: 1.086 MB / 0.9397 GB, free: 7 MB / 0.6856 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 {(6,6,100.0%), (6,12,100.0%), (11,13,90.1%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004034/1.382, allocations: 159 kB / 0.9398 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01362/1.395, allocations: 6.651 MB / 0.9463 GB, free: 128 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/1.395, allocations: 0 / 0.9463 GB, free: 128 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01014/1.406, allocations: 4.432 MB / 0.9506 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/1.409, allocations: 0.5217 MB / 0.9512 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/1.421, allocations: 6.914 MB / 0.9579 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003203/1.425, allocations: 2.734 MB / 0.9606 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001365/1.426, allocations: 396.5 kB / 0.961 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/1.426, allocations: 99.42 kB / 0.961 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of SimCode: time 2.665e-06/1.426, allocations: 0 / 0.961 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of Templates: time 0.09761/1.524, allocations: 61.62 MB / 1.021 GB, free: 3.531 MB / 0.7637 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)