Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [/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.1957/0.1965, allocations: 82.22 MB / 0.5941 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01548/0.212, allocations: 11.14 MB / 0.605 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009566/0.2216, allocations: 5.397 MB / 0.6103 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.223, allocations: 31.88 kB / 0.6103 GB, free: 4.938 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.2243, allocations: 318 kB / 0.6106 GB, free: 4.625 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.2263, allocations: 0.5913 MB / 0.6112 GB, free: 4.031 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.2284, allocations: 0.6236 MB / 0.6118 GB, free: 3.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004482/0.2329, allocations: 3.543 MB / 0.6153 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006336/0.2392, allocations: 4.094 MB / 0.6193 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/0.2415, allocations: 0.7511 MB / 0.62 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00266/0.2441, allocations: 1.032 MB / 0.621 GB, free: 9.902 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006606/0.2448, allocations: 88 kB / 0.6211 GB, free: 9.816 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.2464, allocations: 435.3 kB / 0.6215 GB, free: 9.391 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000966/0.2473, allocations: 0.7014 MB / 0.6222 GB, free: 8.688 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.2484, allocations: 0.7791 MB / 0.6229 GB, free: 7.898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.252, allocations: 3.302 MB / 0.6262 GB, free: 4.586 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.252, allocations: 0 / 0.6262 GB, free: 4.586 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2521, allocations: 4 kB / 0.6262 GB, free: 4.582 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.39e-05/0.2521, allocations: 4 kB / 0.6262 GB, free: 4.578 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004152/0.2563, allocations: 1.585 MB / 0.6277 GB, free: 2.938 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.2564, allocations: 8.031 kB / 0.6277 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.2586, allocations: 446.5 kB / 0.6282 GB, free: 2.492 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.2609, allocations: 1.089 MB / 0.6292 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.2611, allocations: 111.4 kB / 0.6293 GB, free: 1.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.2614, allocations: 156.1 kB / 0.6295 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/0.2661, allocations: 2.715 MB / 0.6321 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.2661, allocations: 3.938 kB / 0.6321 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.2663, allocations: 64 kB / 0.6322 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003044/0.2666, allocations: 146.9 kB / 0.6323 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/0.2704, allocations: 2.272 MB / 0.6345 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.2827, allocations: 8.176 MB / 0.6425 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009991/0.2837, allocations: 0.5802 MB / 0.6431 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006276/0.2844, allocations: 376.6 kB / 0.6435 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.2845, allocations: 89.09 kB / 0.6435 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.2846, allocations: 38.56 kB / 0.6436 GB, free: 2.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=36): time 2.745e-06/0.2846, allocations: 0 / 0.6436 GB, free: 2.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=52): time 0.01979/0.3044, allocations: 5.64 MB / 0.6491 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.3045, allocations: 55.84 kB / 0.6491 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.306, allocations: 0.875 MB / 0.65 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/0.3062, allocations: 37.7 kB / 0.65 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007102/0.3069, allocations: 0.7461 MB / 0.6508 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.3071, allocations: 189.4 kB / 0.6509 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.3073, allocations: 73.69 kB / 0.651 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.3075, allocations: 390.8 kB / 0.6514 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.3086, allocations: 0.6226 MB / 0.652 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.31, allocations: 0.9864 MB / 0.653 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.3125, allocations: 1.643 MB / 0.6546 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.3125, allocations: 4 kB / 0.6546 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009218/0.3218, allocations: 3.085 MB / 0.6576 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004251/0.3222, allocations: 435 kB / 0.658 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.3223, allocations: 15.94 kB / 0.658 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007854/0.3301, allocations: 1.7 MB / 0.6597 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009491/0.3311, allocations: 231.6 kB / 0.6599 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/0.3465, allocations: 9.655 MB / 0.6693 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.348, allocations: 163.7 kB / 0.6695 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.3483, allocations: 47.98 kB / 0.6695 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3483, allocations: 9.344 kB / 0.6695 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007594/0.3559, allocations: 2.54 MB / 0.672 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.805e-05/0.356, allocations: 12 kB / 0.672 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005298/0.3613, allocations: 1.133 MB / 0.6731 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.3625, allocations: 243.6 kB / 0.6734 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009276/0.3718, allocations: 5.508 MB / 0.6787 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.3733, allocations: 135.7 kB / 0.6789 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.3735, allocations: 39.98 kB / 0.6789 GB, free: 12.58 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001753/0.3753, allocations: 0.8449 MB / 0.6797 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.3755, allocations: 75.06 kB / 0.6798 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008229/0.3838, allocations: 2.563 MB / 0.6823 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.3838, allocations: 4.062 kB / 0.6823 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.3839, allocations: 8 kB / 0.6823 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-05/0.3839, allocations: 3.984 kB / 0.6823 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.3959, allocations: 4.394 MB / 0.6866 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.396, allocations: 7.938 kB / 0.6866 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.3964, allocations: 95.86 kB / 0.6867 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006945/0.4034, allocations: 1.564 MB / 0.6882 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.4036, allocations: 12 kB / 0.6882 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3929/0.7965, allocations: 9.3 MB / 0.6973 GB, free: 86.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7966, allocations: 2.969 kB / 0.6973 GB, free: 86.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007558/0.8041, allocations: 2.543 MB / 0.6998 GB, free: 86.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005453/0.8047, allocations: 275.9 kB / 0.7001 GB, free: 86.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.8048, allocations: 7.781 kB / 0.7001 GB, free: 86.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/0.8057, allocations: 122.5 kB / 0.7002 GB, free: 86.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/0.806, allocations: 52.66 kB / 0.7003 GB, free: 86.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.806, allocations: 18.59 kB / 0.7003 GB, free: 86.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009649/0.807, allocations: 0.6287 MB / 0.7009 GB, free: 86.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.61e-07/0.807, allocations: 0 / 0.7009 GB, free: 86.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001917/0.8089, allocations: 0.5542 MB / 0.7014 GB, free: 86.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001966/0.8091, allocations: 121.2 kB / 0.7015 GB, free: 86.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006004/0.8151, allocations: 3.188 MB / 0.7047 GB, free: 85.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.8152, allocations: 3.844 kB / 0.7047 GB, free: 85.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.817, allocations: 1.164 MB / 0.7058 GB, free: 85.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.8184, allocations: 215.7 kB / 0.706 GB, free: 85.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.8239, allocations: 3.687 MB / 0.7096 GB, free: 83.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/0.8253, allocations: 1.619 MB / 0.7112 GB, free: 82.69 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001412/0.8268, allocations: 0.5001 MB / 0.7117 GB, free: 82.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.8269, allocations: 52.5 kB / 0.7117 GB, free: 82.67 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/0.827, allocations: 2.938 kB / 0.7117 GB, free: 82.67 MB / 0.5294 GB Notification: Performance of Templates: time 0.03337/0.8603, allocations: 22.8 MB / 0.734 GB, free: 70.11 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: