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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [/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.2225/0.2255, allocations: 80.84 MB / 0.6707 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01322/0.2388, allocations: 9.895 MB / 0.6803 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006184/0.245, allocations: 3.225 MB / 0.6835 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.2466, allocations: 31.88 kB / 0.6835 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.2488, allocations: 0.6841 MB / 0.6842 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.2509, allocations: 0.7156 MB / 0.6849 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.2526, allocations: 0.6277 MB / 0.6855 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003745/0.2564, allocations: 2.688 MB / 0.6881 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/0.2596, allocations: 2.511 MB / 0.6906 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.2618, allocations: 1.122 MB / 0.6916 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.2641, allocations: 1.394 MB / 0.693 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.2645, allocations: 220 kB / 0.6932 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.2657, allocations: 479.4 kB / 0.6937 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.2667, allocations: 0.9629 MB / 0.6946 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.2678, allocations: 0.988 MB / 0.6956 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.2715, allocations: 3.38 MB / 0.6989 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2715, allocations: 0 / 0.6989 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2715, allocations: 4 kB / 0.6989 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.011e-05/0.2716, allocations: 0 / 0.6989 GB, free: 4.953 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 416 * Number of variables: 416 Notification: Performance of Generate backend data structure: time 0.003934/0.2755, allocations: 1.98 MB / 0.7008 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.2756, allocations: 12.03 kB / 0.7008 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005753/0.2813, allocations: 0.8814 MB / 0.7017 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.284, allocations: 1.169 MB / 0.7028 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.405e-05/0.2841, allocations: 107.3 kB / 0.7029 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.2844, allocations: 144.3 kB / 0.7031 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005007/0.2894, allocations: 3.013 MB / 0.706 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.2894, allocations: 4 kB / 0.706 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.2896, allocations: 59.97 kB / 0.7061 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002236/0.2899, allocations: 175 kB / 0.7062 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/0.2938, allocations: 2.608 MB / 0.7088 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.309, allocations: 10.68 MB / 0.7192 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.311, allocations: 1.342 MB / 0.7205 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.3124, allocations: 1.079 MB / 0.7216 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.786e-05/0.3125, allocations: 8.656 kB / 0.7216 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.3125, allocations: 39.22 kB / 0.7216 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.3125, allocations: 0 / 0.7216 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=139): time 0.07483/0.3874, allocations: 19.75 MB / 0.7409 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.3875, allocations: 68.72 kB / 0.741 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.3889, allocations: 0.9184 MB / 0.7419 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.3891, allocations: 49.7 kB / 0.7419 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.3897, allocations: 0.7423 MB / 0.7427 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005244/0.3902, allocations: 0.4996 MB / 0.7431 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006537/0.3909, allocations: 291.5 kB / 0.7434 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.3911, allocations: 361.8 kB / 0.7438 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.3932, allocations: 1.397 MB / 0.7451 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.3954, allocations: 1.714 MB / 0.7468 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4739/0.8693, allocations: 3.216 MB / 0.7499 GB, free: 70.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/0.8694, allocations: 2.875 kB / 0.7499 GB, free: 70.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01443/0.8838, allocations: 5.836 MB / 0.7556 GB, free: 69.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.8839, allocations: 10.31 kB / 0.7557 GB, free: 69.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.8839, allocations: 8.969 kB / 0.7557 GB, free: 69.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/0.8956, allocations: 2.805 MB / 0.7584 GB, free: 69.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.8969, allocations: 192.3 kB / 0.7586 GB, free: 69.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03952/0.9364, allocations: 26.82 MB / 0.7848 GB, free: 54.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.9384, allocations: 105.3 kB / 0.7849 GB, free: 54.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.9386, allocations: 58.61 kB / 0.7849 GB, free: 54.01 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (10,20,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001298/0.9399, allocations: 0.7332 MB / 0.7856 GB, free: 53.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.9401, allocations: 120.9 kB / 0.7858 GB, free: 53.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009758/0.9499, allocations: 5.605 MB / 0.7912 GB, free: 50.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.95, allocations: 19.69 kB / 0.7913 GB, free: 50.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.36e-05/0.95, allocations: 20.23 kB / 0.7913 GB, free: 50.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.95, allocations: 7.969 kB / 0.7913 GB, free: 50.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.9631, allocations: 9.08 MB / 0.8002 GB, free: 43.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.9632, allocations: 8.453 kB / 0.8002 GB, free: 43.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.9636, allocations: 119.8 kB / 0.8003 GB, free: 43.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007369/0.971, allocations: 2.66 MB / 0.8029 GB, free: 40.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.9712, allocations: 35.98 kB / 0.8029 GB, free: 40.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/0.9982, allocations: 25.22 MB / 0.8275 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.9983, allocations: 7.938 kB / 0.8275 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009005/1.007, allocations: 5.456 MB / 0.8329 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008159/1.008, allocations: 0.5079 MB / 0.8334 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/1.008, allocations: 35.39 kB / 0.8334 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008393/1.009, allocations: 83.89 kB / 0.8335 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005474/1.01, allocations: 121 kB / 0.8336 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.642e-05/1.01, allocations: 43.92 kB / 0.8336 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006443/1.011, allocations: 0.6434 MB / 0.8343 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.011, allocations: 0.5625 kB / 0.8343 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002149/1.013, allocations: 0.707 MB / 0.835 GB, free: 7.062 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002191/1.013, allocations: 139.1 kB / 0.8351 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00657/1.019, allocations: 4.561 MB / 0.8395 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.02, allocations: 4 kB / 0.8395 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004553/1.024, allocations: 2.839 MB / 0.8423 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/1.026, allocations: 224.5 kB / 0.8425 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007317/1.033, allocations: 4.357 MB / 0.8468 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/1.035, allocations: 1.712 MB / 0.8485 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007587/1.035, allocations: 340.9 kB / 0.8488 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/1.036, allocations: 63.42 kB / 0.8488 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/1.036, allocations: 0 / 0.8488 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of Templates: time 0.06149/1.097, allocations: 40.88 MB / 0.8888 GB, free: 15.93 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)