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_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.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.1907/0.193, allocations: 80.84 MB / 0.5897 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03622/0.2293, allocations: 32.31 MB / 0.6213 GB, free: 6.672 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02382/0.2532, allocations: 15.21 MB / 0.6361 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004966/0.2582, allocations: 147.1 kB / 0.6362 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009129/0.2674, allocations: 3.377 MB / 0.6395 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.2775, allocations: 2.729 MB / 0.6422 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007086/0.2847, allocations: 2.1 MB / 0.6443 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01725/0.3019, allocations: 11.96 MB / 0.6559 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01687/0.3189, allocations: 10.33 MB / 0.666 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008319/0.3273, allocations: 3.371 MB / 0.6693 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007969/0.3353, allocations: 4.092 MB / 0.6733 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00238/0.3377, allocations: 480 kB / 0.6738 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005305/0.343, allocations: 1.739 MB / 0.6755 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004554/0.3476, allocations: 2.51 MB / 0.6779 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.007743/0.3554, allocations: 3.013 MB / 0.6809 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.3827/0.7382, allocations: 10.79 MB / 0.6914 GB, free: 32.76 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.7382, allocations: 0 / 0.6914 GB, free: 32.76 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.975e-06/0.7382, allocations: 0.9062 kB / 0.6914 GB, free: 32.76 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004126/0.7387, allocations: 1 kB / 0.6914 GB, free: 32.76 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: 1309 * Number of variables: 1309 Notification: Performance of Generate backend data structure: time 0.01895/0.7576, allocations: 5.896 MB / 0.6972 GB, free: 30.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.7577, allocations: 9.375 kB / 0.6972 GB, free: 30.81 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008423/0.7661, allocations: 1.106 MB / 0.6983 GB, free: 30.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00774/0.7739, allocations: 3.305 MB / 0.7015 GB, free: 29.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.7742, allocations: 368.8 kB / 0.7018 GB, free: 29.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/0.7763, allocations: 490.8 kB / 0.7023 GB, free: 29.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.7965, allocations: 7.919 MB / 0.71 GB, free: 28.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003311/0.7968, allocations: 26.72 kB / 0.7101 GB, free: 28.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001913/0.7987, allocations: 210.2 kB / 0.7103 GB, free: 28.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001547/0.8003, allocations: 439.7 kB / 0.7107 GB, free: 28.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/0.8174, allocations: 6.026 MB / 0.7166 GB, free: 28.84 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03829/0.8557, allocations: 24.8 MB / 0.7408 GB, free: 19.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/0.8587, allocations: 2.028 MB / 0.7428 GB, free: 18.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002234/0.861, allocations: 1.866 MB / 0.7446 GB, free: 17.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.8611, allocations: 25.78 kB / 0.7446 GB, free: 17.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.8612, allocations: 52.25 kB / 0.7447 GB, free: 17.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 3.426e-06/0.8612, allocations: 0 / 0.7447 GB, free: 17.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=276): time 0.1453/1.007, allocations: 38.87 MB / 0.7826 GB, free: 2.023 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/1.007, allocations: 77.58 kB / 0.7827 GB, free: 1.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004452/1.011, allocations: 2.282 MB / 0.7849 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007675/1.012, allocations: 73.7 kB / 0.785 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002009/1.014, allocations: 2.244 MB / 0.7872 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/1.015, allocations: 0.9269 MB / 0.7881 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/1.016, allocations: 0.5061 MB / 0.7886 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.016, allocations: 305.1 kB / 0.7889 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002986/1.019, allocations: 1.977 MB / 0.7908 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003432/1.023, allocations: 2.607 MB / 0.7934 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006824/1.03, allocations: 4.945 MB / 0.7982 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.007e-05/1.03, allocations: 8 kB / 0.7982 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01536/1.045, allocations: 7.76 MB / 0.8058 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/1.045, allocations: 12 kB / 0.8058 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.634e-05/1.045, allocations: 20 kB / 0.8058 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009901/1.055, allocations: 3.211 MB / 0.8089 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/1.057, allocations: 404.1 kB / 0.8093 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0445/1.102, allocations: 31.12 MB / 0.8397 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/1.105, allocations: 163.8 kB / 0.8399 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/1.105, allocations: 111.4 kB / 0.84 GB, free: 6.242 MB / 0.6075 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003074/1.108, allocations: 1.797 MB / 0.8417 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007475/1.109, allocations: 324.2 kB / 0.842 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/1.123, allocations: 7.374 MB / 0.8492 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/1.123, allocations: 28 kB / 0.8493 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.622e-05/1.123, allocations: 36 kB / 0.8493 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-05/1.123, allocations: 15.94 kB / 0.8493 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02596/1.149, allocations: 12.94 MB / 0.862 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/1.15, allocations: 12.16 kB / 0.862 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/1.151, allocations: 235.1 kB / 0.8622 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008984/1.16, allocations: 2.846 MB / 0.865 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004166/1.16, allocations: 55.94 kB / 0.865 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04242/1.202, allocations: 29.91 MB / 0.8942 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001495/1.203, allocations: 10.25 kB / 0.8942 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/1.217, allocations: 6.9 MB / 0.901 GB, free: 6.996 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002793/1.22, allocations: 0.7842 MB / 0.9017 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.221, allocations: 56 kB / 0.9018 GB, free: 6.137 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/1.224, allocations: 163.8 kB / 0.9019 GB, free: 5.977 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009682/1.225, allocations: 254.5 kB / 0.9022 GB, free: 5.734 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/1.225, allocations: 78.53 kB / 0.9023 GB, free: 5.66 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002601/1.227, allocations: 1.529 MB / 0.9038 GB, free: 4.129 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.81e-07/1.227, allocations: 0 / 0.9038 GB, free: 4.129 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005402/1.233, allocations: 1.336 MB / 0.9051 GB, free: 2.793 MB / 0.67 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004504/1.233, allocations: 171.9 kB / 0.9052 GB, free: 2.629 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01179/1.245, allocations: 6.908 MB / 0.912 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.245, allocations: 5.969 kB / 0.912 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00791/1.253, allocations: 4.405 MB / 0.9163 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005666/1.259, allocations: 1.048 MB / 0.9173 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/1.28, allocations: 12.49 MB / 0.9295 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005838/1.286, allocations: 3.638 MB / 0.9331 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00271/1.288, allocations: 0.5694 MB / 0.9336 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/1.289, allocations: 165.9 kB / 0.9338 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of SimCode: time 2.335e-06/1.289, allocations: 0 / 0.9338 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of Templates: time 0.4598/1.749, allocations: 75.38 MB / 1.007 GB, free: 233.1 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)