Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [/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.2059/0.2067, allocations: 82.22 MB / 0.5941 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03065/0.2374, allocations: 29.1 MB / 0.6226 GB, free: 8.352 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02353/0.261, allocations: 13.81 MB / 0.636 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0042/0.2653, allocations: 123.2 kB / 0.6362 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.2685, allocations: 0.6474 MB / 0.6368 GB, free: 9.727 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00942/0.2779, allocations: 2.523 MB / 0.6393 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005877/0.2838, allocations: 1.692 MB / 0.6409 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01526/0.2991, allocations: 10.23 MB / 0.6509 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01919/0.3184, allocations: 10.17 MB / 0.6608 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00776/0.3262, allocations: 2.529 MB / 0.6633 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007268/0.3335, allocations: 2.954 MB / 0.6662 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001764/0.3353, allocations: 244 kB / 0.6664 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004622/0.3399, allocations: 1.376 MB / 0.6678 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003698/0.3437, allocations: 1.851 MB / 0.6696 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00594/0.3496, allocations: 2.302 MB / 0.6718 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.3631, allocations: 8.854 MB / 0.6805 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3632, allocations: 0 / 0.6805 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3632, allocations: 0 / 0.6805 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000407/0.3636, allocations: 4 kB / 0.6805 GB, free: 12.78 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: 1109 * Number of variables: 1109 Notification: Performance of Generate backend data structure: time 0.01389/0.3775, allocations: 4.091 MB / 0.6845 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.3776, allocations: 8.031 kB / 0.6845 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007102/0.3847, allocations: 0.9864 MB / 0.6854 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007174/0.3919, allocations: 2.872 MB / 0.6882 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003938/0.3923, allocations: 312.7 kB / 0.6885 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.3944, allocations: 412 kB / 0.6889 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5032/0.8976, allocations: 6.717 MB / 0.6955 GB, free: 45.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.8977, allocations: 22.5 kB / 0.6955 GB, free: 45.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005027/0.8983, allocations: 179 kB / 0.6957 GB, free: 45.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008616/0.8991, allocations: 369.8 kB / 0.696 GB, free: 45.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009281/0.9084, allocations: 5.067 MB / 0.701 GB, free: 45.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03379/0.9422, allocations: 22.21 MB / 0.7227 GB, free: 36.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.9443, allocations: 1.394 MB / 0.724 GB, free: 36.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.9461, allocations: 1.333 MB / 0.7253 GB, free: 36.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.682e-05/0.9462, allocations: 16.12 kB / 0.7253 GB, free: 36.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.9463, allocations: 49.12 kB / 0.7254 GB, free: 36.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=130): time 5.129e-06/0.9463, allocations: 0 / 0.7254 GB, free: 36.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=199): time 0.08279/1.029, allocations: 22.8 MB / 0.7477 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/1.029, allocations: 73.41 kB / 0.7477 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/1.032, allocations: 2.062 MB / 0.7497 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002056/1.032, allocations: 61.7 kB / 0.7498 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/1.033, allocations: 1.978 MB / 0.7517 GB, free: 24.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/1.034, allocations: 0.6738 MB / 0.7524 GB, free: 23.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/1.034, allocations: 182.3 kB / 0.7526 GB, free: 23.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/1.034, allocations: 305.1 kB / 0.7529 GB, free: 22.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/1.036, allocations: 1.439 MB / 0.7543 GB, free: 21.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/1.039, allocations: 2.014 MB / 0.7562 GB, free: 19.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/1.043, allocations: 3.714 MB / 0.7599 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/1.043, allocations: 4 kB / 0.7599 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009891/1.052, allocations: 5.663 MB / 0.7654 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/1.053, allocations: 15.98 kB / 0.7654 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/1.053, allocations: 24.16 kB / 0.7654 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006082/1.059, allocations: 2.082 MB / 0.7675 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.06, allocations: 379.3 kB / 0.7678 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03945/1.1, allocations: 35.55 MB / 0.8025 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/1.103, allocations: 135.8 kB / 0.8027 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004162/1.103, allocations: 84 kB / 0.8027 GB, free: 1.309 MB / 0.5606 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003554/1.107, allocations: 1.509 MB / 0.8042 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000805/1.108, allocations: 276.7 kB / 0.8045 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.119, allocations: 5.226 MB / 0.8096 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/1.119, allocations: 20 kB / 0.8096 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-05/1.119, allocations: 16 kB / 0.8096 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/1.119, allocations: 15.89 kB / 0.8096 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/1.14, allocations: 9.714 MB / 0.8191 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/1.14, allocations: 4 kB / 0.8191 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009382/1.141, allocations: 221 kB / 0.8193 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006152/1.147, allocations: 1.844 MB / 0.8211 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000233/1.148, allocations: 47.47 kB / 0.8212 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03659/1.184, allocations: 34.56 MB / 0.8549 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.184, allocations: 11.47 kB / 0.8549 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/1.195, allocations: 4.914 MB / 0.8597 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00259/1.198, allocations: 0.6342 MB / 0.8604 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001383/1.2, allocations: 44 kB / 0.8604 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.202, allocations: 127.8 kB / 0.8605 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008121/1.203, allocations: 190.7 kB / 0.8607 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002165/1.203, allocations: 66.02 kB / 0.8608 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003161/1.206, allocations: 1.374 MB / 0.8621 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.134e-06/1.206, allocations: 0 / 0.8621 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00558/1.212, allocations: 1.021 MB / 0.8631 GB, free: 1.078 MB / 0.6231 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005045/1.212, allocations: 166.9 kB / 0.8633 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.223, allocations: 6.271 MB / 0.8694 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.971e-05/1.223, allocations: 4.188 kB / 0.8694 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.007108/1.23, allocations: 4.414 MB / 0.8737 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008308/1.239, allocations: 0.9308 MB / 0.8746 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/1.258, allocations: 10.08 MB / 0.8845 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005143/1.263, allocations: 3.121 MB / 0.8875 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002913/1.266, allocations: 0.5393 MB / 0.888 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006264/1.267, allocations: 151.4 kB / 0.8882 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of SimCode: time 1.824e-06/1.267, allocations: 0 / 0.8882 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of Templates: time 0.1119/1.379, allocations: 57.04 MB / 0.9439 GB, free: 14.88 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: