Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.581/1.581, allocations: 289.7 MB / 302.2 MB, free: 2.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 181.6 kB / 371.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.2 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000928/0.000928, allocations: 92.02 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.555e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2892, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8859/1.175, allocations: 171.8 MB / 1.148 GB, free: 21.02 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/1.176, allocations: 92.95 kB / 1.148 GB, free: 20.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.4405/1.616, allocations: 179.7 MB / 1.323 GB, free: 1.645 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.214e-06/1.616, allocations: 0 / 1.323 GB, free: 1.645 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004592/1.617, allocations: 123.9 kB / 1.323 GB, free: 1.523 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01406/1.631, allocations: 3.829 MB / 1.327 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.631, allocations: 8.031 kB / 1.327 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007198/1.638, allocations: 0.9404 MB / 1.328 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008839/1.647, allocations: 2.979 MB / 1.331 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/1.647, allocations: 352.5 kB / 1.331 GB, free: 9.297 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002612/1.65, allocations: 471.9 kB / 1.332 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02235/1.672, allocations: 7.221 MB / 1.339 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002788/1.673, allocations: 35.7 kB / 1.339 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/1.674, allocations: 204 kB / 1.339 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003613/1.675, allocations: 273 kB / 1.339 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/1.688, allocations: 5.087 MB / 1.344 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04464/1.732, allocations: 35.08 MB / 1.378 GB, free: 5.266 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/1.735, allocations: 2.115 MB / 1.38 GB, free: 3.039 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/1.737, allocations: 1.257 MB / 1.382 GB, free: 1.781 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/1.737, allocations: 21.25 kB / 1.382 GB, free: 1.762 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/1.737, allocations: 47.81 kB / 1.382 GB, free: 1.707 MB / 0.948 GB Notification: Performance of pre-optimization done (n=133): time 3.356e-06/1.737, allocations: 0 / 1.382 GB, free: 1.707 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.5738/2.311, allocations: 4.541 MB / 1.386 GB, free: 185.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/2.311, allocations: 69.42 kB / 1.386 GB, free: 185.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/2.313, allocations: 1.254 MB / 1.387 GB, free: 184.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002094/2.313, allocations: 46.14 kB / 1.388 GB, free: 184.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/2.315, allocations: 1.983 MB / 1.389 GB, free: 184.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004624/2.315, allocations: 487.1 kB / 1.39 GB, free: 183.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/2.315, allocations: 39.69 kB / 1.39 GB, free: 183.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001233/2.315, allocations: 381.2 kB / 1.39 GB, free: 183.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/2.317, allocations: 0.8816 MB / 1.391 GB, free: 183.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/2.318, allocations: 1.54 MB / 1.393 GB, free: 182.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/2.32, allocations: 1.156 MB / 1.394 GB, free: 182.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/2.32, allocations: 5.938 kB / 1.394 GB, free: 182.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00802/2.328, allocations: 3.453 MB / 1.397 GB, free: 182.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/2.328, allocations: 19.06 kB / 1.397 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.283e-05/2.328, allocations: 21.53 kB / 1.397 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003171/2.331, allocations: 0.8926 MB / 1.398 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/2.333, allocations: 346.4 kB / 1.398 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/2.352, allocations: 21.18 MB / 1.419 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/2.354, allocations: 99.91 kB / 1.419 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/2.354, allocations: 86.33 kB / 1.419 GB, free: 167.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(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.0003071/2.354, allocations: 216.3 kB / 1.419 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/2.354, allocations: 204.1 kB / 1.42 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/2.359, allocations: 2.951 MB / 1.423 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/2.359, allocations: 15 kB / 1.423 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/2.359, allocations: 9.031 kB / 1.423 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/2.359, allocations: 7.219 kB / 1.423 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/2.37, allocations: 7.252 MB / 1.43 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/2.37, allocations: 6.625 kB / 1.43 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007336/2.371, allocations: 180.6 kB / 1.43 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/2.373, allocations: 0.815 MB / 1.431 GB, free: 165.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.009e-05/2.373, allocations: 32.62 kB / 1.431 GB, free: 165.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/2.387, allocations: 20.26 MB / 1.45 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/2.387, allocations: 8.562 kB / 1.45 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005241/2.392, allocations: 3.267 MB / 1.454 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/2.393, allocations: 461.6 kB / 1.454 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005749/2.394, allocations: 24.28 kB / 1.454 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/2.395, allocations: 70.89 kB / 1.454 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003937/2.396, allocations: 127 kB / 1.454 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.995e-05/2.396, allocations: 41.72 kB / 1.454 GB, free: 149.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001802/2.398, allocations: 0.9468 MB / 1.455 GB, free: 149 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/2.398, allocations: 0.75 kB / 1.455 GB, free: 149 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004351/2.402, allocations: 0.8233 MB / 1.456 GB, free: 149 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003605/2.402, allocations: 150.8 kB / 1.456 GB, free: 148.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005362/2.408, allocations: 3.929 MB / 1.46 GB, free: 147.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/2.408, allocations: 3.25 kB / 1.46 GB, free: 147.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003194/2.411, allocations: 2.696 MB / 1.463 GB, free: 146.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/2.414, allocations: 0.6429 MB / 1.463 GB, free: 146.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/2.427, allocations: 5.609 MB / 1.469 GB, free: 144.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004945/2.432, allocations: 3.192 MB / 1.472 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001996/2.434, allocations: 458.7 kB / 1.472 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/2.434, allocations: 116.6 kB / 1.472 GB, free: 143.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.734e-06/2.434, allocations: 0 / 1.472 GB, free: 143.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05868/2.493, allocations: 33.41 MB / 1.505 GB, free: 142.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)