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.1968/0.1988, allocations: 80.83 MB / 0.6706 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.4587/0.6575, allocations: 22.27 MB / 0.6924 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.6694, allocations: 6.675 MB / 0.6989 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/0.6725, allocations: 96.88 kB / 0.699 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00458/0.6772, allocations: 1.529 MB / 0.7005 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00617/0.6833, allocations: 1.739 MB / 0.7022 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004478/0.6878, allocations: 1.329 MB / 0.7035 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009049/0.6969, allocations: 5.824 MB / 0.7092 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01115/0.7081, allocations: 6.047 MB / 0.7151 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006363/0.7145, allocations: 2.392 MB / 0.7174 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006619/0.7212, allocations: 2.913 MB / 0.7203 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001875/0.7231, allocations: 453.6 kB / 0.7207 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.7271, allocations: 1.094 MB / 0.7218 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003756/0.7309, allocations: 1.982 MB / 0.7237 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.007158/0.7381, allocations: 2.12 MB / 0.7258 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.7501, allocations: 7.204 MB / 0.7328 GB, free: 15.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.7502, allocations: 1.281 kB / 0.7328 GB, free: 15.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7502, allocations: 0 / 0.7328 GB, free: 15.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003057/0.7505, allocations: 0 / 0.7328 GB, free: 15.25 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: 904 * Number of variables: 904 Notification: Performance of Generate backend data structure: time 0.0158/0.7663, allocations: 3.793 MB / 0.7365 GB, free: 12.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.7664, allocations: 8.625 kB / 0.7365 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008224/0.7746, allocations: 1.198 MB / 0.7377 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007742/0.7824, allocations: 2.327 MB / 0.74 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.7827, allocations: 245 kB / 0.7402 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/0.7848, allocations: 313.1 kB / 0.7405 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/0.8006, allocations: 6.187 MB / 0.7465 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.8008, allocations: 16.66 kB / 0.7466 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005534/0.8014, allocations: 135.2 kB / 0.7467 GB, free: 6.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005526/0.8019, allocations: 413.4 kB / 0.7471 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.8123, allocations: 4.638 MB / 0.7516 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03814/0.8505, allocations: 22.07 MB / 0.7732 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.8529, allocations: 1.459 MB / 0.7746 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.8552, allocations: 1.515 MB / 0.7761 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.8554, allocations: 13 kB / 0.7761 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.8554, allocations: 43.56 kB / 0.7761 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 3.837e-06/0.8555, allocations: 0 / 0.7761 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=179): time 0.1425/0.998, allocations: 35.93 MB / 0.8112 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.9981, allocations: 77.34 kB / 0.8113 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/1, allocations: 1.419 MB / 0.8127 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003464/1.001, allocations: 61.64 kB / 0.8127 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/1.002, allocations: 1.527 MB / 0.8142 GB, free: 236 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006898/1.002, allocations: 0.6084 MB / 0.8148 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007214/1.003, allocations: 379.3 kB / 0.8152 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.003, allocations: 309.1 kB / 0.8155 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/1.006, allocations: 1.823 MB / 0.8172 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/1.009, allocations: 2.393 MB / 0.8196 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006049/1.015, allocations: 4.484 MB / 0.824 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/1.015, allocations: 7.938 kB / 0.824 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01874/1.034, allocations: 8.516 MB / 0.8323 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/1.034, allocations: 12 kB / 0.8323 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/1.034, allocations: 19.98 kB / 0.8323 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0147/1.049, allocations: 4.506 MB / 0.8367 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.05, allocations: 303.5 kB / 0.837 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04919/1.099, allocations: 33.19 MB / 0.8694 GB, free: 6.266 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/1.102, allocations: 123.9 kB / 0.8695 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/1.102, allocations: 84 kB / 0.8696 GB, free: 6.062 MB / 0.67 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.002751/1.105, allocations: 1.343 MB / 0.8709 GB, free: 4.711 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000525/1.105, allocations: 197.7 kB / 0.8711 GB, free: 4.516 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01772/1.123, allocations: 8.398 MB / 0.8793 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/1.123, allocations: 20 kB / 0.8793 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.523e-05/1.123, allocations: 24 kB / 0.8794 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.641e-05/1.123, allocations: 7.969 kB / 0.8794 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03216/1.155, allocations: 12.96 MB / 0.892 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/1.155, allocations: 4 kB / 0.892 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/1.156, allocations: 159.8 kB / 0.8922 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01388/1.17, allocations: 4.349 MB / 0.8964 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/1.17, allocations: 40 kB / 0.8965 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04672/1.217, allocations: 32.85 MB / 0.9285 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.217, allocations: 12 kB / 0.9286 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/1.234, allocations: 8.194 MB / 0.9366 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/1.236, allocations: 0.6351 MB / 0.9372 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000367/1.236, allocations: 36 kB / 0.9372 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.238, allocations: 119.8 kB / 0.9373 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008439/1.238, allocations: 165 kB / 0.9375 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.239, allocations: 55.94 kB / 0.9375 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001354/1.24, allocations: 0.9588 MB / 0.9385 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.24, allocations: 0 / 0.9385 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003645/1.244, allocations: 1.09 MB / 0.9395 GB, free: 13.2 MB / 0.7481 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.0003516/1.244, allocations: 154.4 kB / 0.9397 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.257, allocations: 6.652 MB / 0.9462 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/1.257, allocations: 4 kB / 0.9462 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.009855/1.267, allocations: 4.437 MB / 0.9505 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/1.27, allocations: 0.5131 MB / 0.951 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.283, allocations: 6.909 MB / 0.9578 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/1.286, allocations: 2.734 MB / 0.9604 GB, free: 7.52 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001139/1.287, allocations: 400.5 kB / 0.9608 GB, free: 7.125 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/1.287, allocations: 95.44 kB / 0.9609 GB, free: 7.031 MB / 0.7637 GB Notification: Performance of SimCode: time 7.91e-07/1.287, allocations: 0 / 0.9609 GB, free: 7.031 MB / 0.7637 GB Notification: Performance of Templates: time 0.5212/1.808, allocations: 61.62 MB / 1.021 GB, free: 240.9 MB / 0.7794 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)