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.1921/0.1942, allocations: 80.85 MB / 0.6707 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03615/0.2304, allocations: 30.13 MB / 0.7001 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02689/0.2573, allocations: 14 MB / 0.7138 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00533/0.2627, allocations: 143.2 kB / 0.7139 GB, free: 5.555 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.2733, allocations: 3.176 MB / 0.717 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.2841, allocations: 2.716 MB / 0.7196 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006992/0.2911, allocations: 1.987 MB / 0.7216 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01293/0.3041, allocations: 7.425 MB / 0.7288 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01495/0.3191, allocations: 8.205 MB / 0.7368 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007616/0.3267, allocations: 3.357 MB / 0.7401 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00704/0.3338, allocations: 3.387 MB / 0.7434 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002648/0.3365, allocations: 0.5859 MB / 0.744 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005382/0.3419, allocations: 1.478 MB / 0.7455 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004708/0.3467, allocations: 2.3 MB / 0.7477 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4659/0.8126, allocations: 2.791 MB / 0.7504 GB, free: 24.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02078/0.8334, allocations: 9.288 MB / 0.7595 GB, free: 24.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.8334, allocations: 0 / 0.7595 GB, free: 24.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8334, allocations: 0.625 kB / 0.7595 GB, free: 24.72 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004161/0.8339, allocations: 0 / 0.7595 GB, free: 24.72 MB / 0.5762 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.02213/0.856, allocations: 5.067 MB / 0.7644 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.026e-05/0.8561, allocations: 9.938 kB / 0.7645 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008875/0.865, allocations: 0.9756 MB / 0.7654 GB, free: 22.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00978/0.8748, allocations: 3.059 MB / 0.7684 GB, free: 21.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.8752, allocations: 314.5 kB / 0.7687 GB, free: 21.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002129/0.8773, allocations: 406.4 kB / 0.7691 GB, free: 21.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.8974, allocations: 6.724 MB / 0.7756 GB, free: 20.97 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001557/0.8976, allocations: 19.66 kB / 0.7757 GB, free: 20.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00061/0.8982, allocations: 182.1 kB / 0.7758 GB, free: 20.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009541/0.8992, allocations: 377.2 kB / 0.7762 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.9107, allocations: 5.062 MB / 0.7811 GB, free: 20.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03831/0.949, allocations: 21.94 MB / 0.8026 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.951, allocations: 1.396 MB / 0.8039 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.9525, allocations: 1.327 MB / 0.8052 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.242e-05/0.9526, allocations: 14.88 kB / 0.8052 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.325e-05/0.9526, allocations: 53.19 kB / 0.8053 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 3.737e-06/0.9526, allocations: 0 / 0.8053 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.08478/1.037, allocations: 23.09 MB / 0.8278 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/1.038, allocations: 73.41 kB / 0.8279 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/1.041, allocations: 2.058 MB / 0.8299 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003062/1.041, allocations: 67.48 kB / 0.83 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/1.043, allocations: 1.978 MB / 0.8319 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000673/1.043, allocations: 0.6747 MB / 0.8326 GB, free: 128 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007143/1.044, allocations: 408.2 kB / 0.833 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/1.044, allocations: 301.1 kB / 0.8332 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/1.046, allocations: 1.433 MB / 0.8346 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/1.048, allocations: 2.013 MB / 0.8366 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004456/1.053, allocations: 3.716 MB / 0.8402 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.053, allocations: 4 kB / 0.8402 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0106/1.063, allocations: 5.667 MB / 0.8458 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/1.064, allocations: 16.62 kB / 0.8458 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/1.064, allocations: 16 kB / 0.8458 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006462/1.07, allocations: 2.088 MB / 0.8478 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.072, allocations: 374.1 kB / 0.8482 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03753/1.109, allocations: 38.44 MB / 0.8857 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/1.113, allocations: 136.2 kB / 0.8859 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003267/1.113, allocations: 90.62 kB / 0.886 GB, free: 6.793 MB / 0.6544 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.003525/1.117, allocations: 1.506 MB / 0.8874 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000721/1.117, allocations: 276.7 kB / 0.8877 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.127, allocations: 5.232 MB / 0.8928 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/1.127, allocations: 23.97 kB / 0.8928 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-05/1.127, allocations: 20 kB / 0.8928 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/1.127, allocations: 15.91 kB / 0.8929 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/1.146, allocations: 9.703 MB / 0.9023 GB, free: 5.965 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/1.146, allocations: 8 kB / 0.9023 GB, free: 5.957 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/1.147, allocations: 214.4 kB / 0.9025 GB, free: 5.758 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005652/1.153, allocations: 1.843 MB / 0.9043 GB, free: 3.875 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/1.153, allocations: 44 kB / 0.9044 GB, free: 3.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0357/1.189, allocations: 37.44 MB / 0.941 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/1.189, allocations: 10.81 kB / 0.941 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009352/1.198, allocations: 4.93 MB / 0.9458 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/1.2, allocations: 0.6186 MB / 0.9464 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004968/1.201, allocations: 40 kB / 0.9464 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/1.202, allocations: 123.8 kB / 0.9465 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007339/1.203, allocations: 205.5 kB / 0.9467 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/1.203, allocations: 52 kB / 0.9468 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002099/1.205, allocations: 1.382 MB / 0.9481 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.21e-07/1.205, allocations: 0 / 0.9481 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00439/1.21, allocations: 1.016 MB / 0.9491 GB, free: 3.57 MB / 0.7169 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.0003353/1.21, allocations: 162.1 kB / 0.9493 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009922/1.22, allocations: 6.308 MB / 0.9554 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/1.22, allocations: 4 kB / 0.9554 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006878/1.227, allocations: 4.396 MB / 0.9597 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/1.232, allocations: 1.013 MB / 0.9607 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/1.248, allocations: 8.107 MB / 0.9686 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00359/1.251, allocations: 3.116 MB / 0.9717 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00209/1.254, allocations: 0.5354 MB / 0.9722 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/1.254, allocations: 151.4 kB / 0.9724 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of SimCode: time 1.633e-06/1.254, allocations: 0 / 0.9724 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of Templates: time 0.09635/1.35, allocations: 58.61 MB / 1.03 GB, free: 1.66 MB / 0.795 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (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)