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.1838/0.1846, allocations: 82.21 MB / 0.5934 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02896/0.2136, allocations: 26.18 MB / 0.6189 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.2324, allocations: 12.85 MB / 0.6315 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003173/0.2356, allocations: 119.2 kB / 0.6316 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.2383, allocations: 0.6289 MB / 0.6322 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008114/0.2465, allocations: 2.117 MB / 0.6343 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004993/0.2515, allocations: 1.204 MB / 0.6355 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.2619, allocations: 3.863 MB / 0.6392 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01364/0.2756, allocations: 8.497 MB / 0.6475 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004722/0.2803, allocations: 2.254 MB / 0.6497 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004016/0.2844, allocations: 2.036 MB / 0.6517 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.2855, allocations: 240 kB / 0.652 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.288, allocations: 0.593 MB / 0.6525 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001936/0.29, allocations: 1.691 MB / 0.6542 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.2918, allocations: 0.9329 MB / 0.6551 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008332/0.3002, allocations: 7.507 MB / 0.6624 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3002, allocations: 4 kB / 0.6624 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3002, allocations: 0 / 0.6624 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002808/0.3005, allocations: 0 / 0.6624 GB, free: 15.04 MB / 0.5137 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.009542/0.3101, allocations: 4.121 MB / 0.6665 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.3101, allocations: 11.97 kB / 0.6665 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/0.3161, allocations: 0.9504 MB / 0.6674 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008738/0.3248, allocations: 2.791 MB / 0.6701 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.3251, allocations: 316.3 kB / 0.6704 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.3262, allocations: 411.9 kB / 0.6708 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.3385, allocations: 6.655 MB / 0.6773 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.3387, allocations: 23.78 kB / 0.6773 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004026/0.3391, allocations: 183.9 kB / 0.6775 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008518/0.3399, allocations: 371.8 kB / 0.6779 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008386/0.3483, allocations: 5.039 MB / 0.6828 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3721/0.7205, allocations: 22.18 MB / 0.7044 GB, free: 74.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.7227, allocations: 1.39 MB / 0.7058 GB, free: 74.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.431e-05/0.7228, allocations: 13.91 kB / 0.7058 GB, free: 74.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.7229, allocations: 46.67 kB / 0.7059 GB, free: 74.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=130): time 4.439e-06/0.7229, allocations: 6.281 kB / 0.7059 GB, free: 74.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=199): time 0.08342/0.8063, allocations: 22.79 MB / 0.7281 GB, free: 69.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.8064, allocations: 74.22 kB / 0.7282 GB, free: 69.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.8093, allocations: 2.042 MB / 0.7302 GB, free: 68.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003216/0.8096, allocations: 61.39 kB / 0.7302 GB, free: 68.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.8107, allocations: 1.978 MB / 0.7322 GB, free: 66.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005273/0.8112, allocations: 0.6691 MB / 0.7328 GB, free: 65.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.8114, allocations: 48.53 kB / 0.7329 GB, free: 65.67 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8115, allocations: 400.2 kB / 0.7333 GB, free: 65.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.8132, allocations: 1.426 MB / 0.7347 GB, free: 64.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/0.8152, allocations: 2.004 MB / 0.7366 GB, free: 63.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.8172, allocations: 1.736 MB / 0.7383 GB, free: 62.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.8172, allocations: 3.625 kB / 0.7383 GB, free: 62.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009138/0.8263, allocations: 5.641 MB / 0.7438 GB, free: 56.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.8264, allocations: 12 kB / 0.7438 GB, free: 56.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.8264, allocations: 20 kB / 0.7438 GB, free: 56.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00583/0.8323, allocations: 2.08 MB / 0.7459 GB, free: 54.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.8337, allocations: 380.8 kB / 0.7462 GB, free: 54.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02861/0.8624, allocations: 36.27 MB / 0.7817 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.8653, allocations: 135.9 kB / 0.7818 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.8655, allocations: 92 kB / 0.7819 GB, free: 15.34 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002508/0.868, allocations: 1.5 MB / 0.7833 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005855/0.8686, allocations: 288.6 kB / 0.7836 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008416/0.877, allocations: 5.2 MB / 0.7887 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.8771, allocations: 20 kB / 0.7887 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.719e-05/0.8771, allocations: 16 kB / 0.7887 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.8771, allocations: 11.95 kB / 0.7887 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/0.8933, allocations: 9.687 MB / 0.7982 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.8934, allocations: 12.17 kB / 0.7982 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008693/0.8943, allocations: 220.2 kB / 0.7984 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005683/0.9, allocations: 1.839 MB / 0.8002 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/0.9002, allocations: 36 kB / 0.8003 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03823/0.9385, allocations: 35.29 MB / 0.8347 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.9385, allocations: 12.31 kB / 0.8347 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009602/0.9481, allocations: 5.44 MB / 0.84 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/0.9501, allocations: 0.6187 MB / 0.8406 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/0.9505, allocations: 43.95 kB / 0.8407 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.9519, allocations: 131.9 kB / 0.8408 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006501/0.9526, allocations: 197.5 kB / 0.841 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.9527, allocations: 52 kB / 0.841 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001926/0.9546, allocations: 1.359 MB / 0.8424 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9546, allocations: 0 / 0.8424 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003784/0.9584, allocations: 1.016 MB / 0.8434 GB, free: 13.36 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003341/0.9588, allocations: 167 kB / 0.8435 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009714/0.9685, allocations: 6.268 MB / 0.8496 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.9685, allocations: 4 kB / 0.8497 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006735/0.9753, allocations: 4.401 MB / 0.8539 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/0.9799, allocations: 0.896 MB / 0.8548 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/0.9968, allocations: 9.634 MB / 0.8642 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003848/1.001, allocations: 3.192 MB / 0.8673 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00237/1.003, allocations: 0.5432 MB / 0.8679 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/1.003, allocations: 147.4 kB / 0.868 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of SimCode: time 8.41e-07/1.004, allocations: 0 / 0.868 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of Templates: time 0.09391/1.097, allocations: 55.55 MB / 0.9223 GB, free: 12.81 MB / 0.67 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: