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.1839/0.186, allocations: 80.84 MB / 0.6707 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01188/0.1979, allocations: 9.973 MB / 0.6804 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006881/0.2048, allocations: 3.362 MB / 0.6837 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.206, allocations: 35.81 kB / 0.6837 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.2081, allocations: 0.5891 MB / 0.6843 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.2106, allocations: 0.7739 MB / 0.685 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.2125, allocations: 0.7476 MB / 0.6858 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003402/0.216, allocations: 2.946 MB / 0.6886 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003177/0.2192, allocations: 2.59 MB / 0.6912 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.2212, allocations: 1.239 MB / 0.6924 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.2239, allocations: 1.578 MB / 0.6939 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006877/0.2246, allocations: 236 kB / 0.6942 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.226, allocations: 0.4994 MB / 0.6946 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.2274, allocations: 1.056 MB / 0.6957 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001999/0.2294, allocations: 1.093 MB / 0.6967 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.234, allocations: 3.65 MB / 0.7003 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.2341, allocations: 0 / 0.7003 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2341, allocations: 4 kB / 0.7003 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001336/0.2342, allocations: 0 / 0.7003 GB, free: 3.473 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.006584/0.2408, allocations: 2.134 MB / 0.7024 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2409, allocations: 12.03 kB / 0.7024 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009164/0.25, allocations: 1.317 MB / 0.7037 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.2534, allocations: 1.302 MB / 0.705 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.2535, allocations: 115.3 kB / 0.7051 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007178/0.2542, allocations: 144.3 kB / 0.7052 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006661/0.2609, allocations: 3.417 MB / 0.7085 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.499e-05/0.261, allocations: 7.938 kB / 0.7085 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/0.2613, allocations: 63.97 kB / 0.7086 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002979/0.2616, allocations: 203.1 kB / 0.7088 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006132/0.2678, allocations: 3.116 MB / 0.7118 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/0.2882, allocations: 11.97 MB / 0.7235 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.2909, allocations: 1.899 MB / 0.7254 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/0.2931, allocations: 1.58 MB / 0.7269 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.184e-05/0.2932, allocations: 16.94 kB / 0.727 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.2933, allocations: 51.5 kB / 0.727 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 4.057e-06/0.2933, allocations: 7.922 kB / 0.727 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=183): time 0.6012/0.8945, allocations: 40.25 MB / 0.7663 GB, free: 71.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.8946, allocations: 71.69 kB / 0.7664 GB, free: 71.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.8961, allocations: 1.123 MB / 0.7675 GB, free: 70.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003357/0.8965, allocations: 59.42 kB / 0.7675 GB, free: 70.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.8969, allocations: 0.7837 MB / 0.7683 GB, free: 69.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005185/0.8974, allocations: 0.6286 MB / 0.7689 GB, free: 69.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007519/0.8981, allocations: 369.4 kB / 0.7693 GB, free: 69.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.673e-05/0.8982, allocations: 306.2 kB / 0.7696 GB, free: 68.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/0.9009, allocations: 2.148 MB / 0.7717 GB, free: 67.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002882/0.9038, allocations: 2.513 MB / 0.7741 GB, free: 66.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00563/0.9094, allocations: 4.827 MB / 0.7788 GB, free: 63.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.9094, allocations: 2.75 kB / 0.7788 GB, free: 63.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01848/0.9279, allocations: 9.953 MB / 0.7886 GB, free: 56.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.928, allocations: 8 kB / 0.7886 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.928, allocations: 11.94 kB / 0.7886 GB, free: 56.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01572/0.9438, allocations: 5.554 MB / 0.794 GB, free: 51.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008904/0.9447, allocations: 207.7 kB / 0.7942 GB, free: 51.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04826/0.993, allocations: 42.37 MB / 0.8356 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.9953, allocations: 163.8 kB / 0.8357 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/0.9955, allocations: 71.98 kB / 0.8358 GB, free: 8.016 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.001315/0.9968, allocations: 0.8234 MB / 0.8366 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.9972, allocations: 138.3 kB / 0.8367 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/1.016, allocations: 9.785 MB / 0.8463 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/1.017, allocations: 23.94 kB / 0.8463 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.723e-05/1.017, allocations: 28 kB / 0.8463 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-05/1.017, allocations: 7.969 kB / 0.8463 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03002/1.047, allocations: 14.74 MB / 0.8607 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/1.047, allocations: 4 kB / 0.8607 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/1.047, allocations: 128.2 kB / 0.8609 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01822/1.066, allocations: 5.322 MB / 0.8661 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000465/1.066, allocations: 39.94 kB / 0.8661 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06259/1.129, allocations: 40.27 MB / 0.9054 GB, free: 20 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.129, allocations: 11.94 kB / 0.9054 GB, free: 8 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02244/1.151, allocations: 9.466 MB / 0.9147 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002306/1.154, allocations: 0.7062 MB / 0.9154 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007914/1.154, allocations: 35.98 kB / 0.9154 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/1.157, allocations: 143.8 kB / 0.9155 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001315/1.158, allocations: 169.6 kB / 0.9157 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002657/1.158, allocations: 57.58 kB / 0.9158 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001627/1.16, allocations: 0.7773 MB / 0.9165 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/1.16, allocations: 0 / 0.9165 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005233/1.165, allocations: 1.02 MB / 0.9175 GB, free: 3.523 MB / 0.6544 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.0005678/1.166, allocations: 151 kB / 0.9177 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0125/1.178, allocations: 6.763 MB / 0.9243 GB, free: 12.55 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.178, allocations: 3.938 kB / 0.9243 GB, free: 12.54 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008592/1.187, allocations: 4.263 MB / 0.9284 GB, free: 8.242 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/1.189, allocations: 238.9 kB / 0.9287 GB, free: 8.016 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009808/1.199, allocations: 5.624 MB / 0.9342 GB, free: 2.359 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/1.201, allocations: 1.874 MB / 0.936 GB, free: 456 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008351/1.202, allocations: 382.4 kB / 0.9363 GB, free: 76 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/1.202, allocations: 63.42 kB / 0.9364 GB, free: 12 kB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/1.202, allocations: 0 / 0.9364 GB, free: 12 kB / 0.67 GB Notification: Performance of Templates: time 0.09087/1.293, allocations: 64.4 MB / 0.9993 GB, free: 15.71 MB / 0.7481 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)