Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 293 MB / 309 MB, free: 4.816 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.001019/0.001019, allocations: 188.1 kB / 378.7 MB, free: 1.016 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.815/1.815, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0008601/0.0008602, allocations: 94.91 kB / 0.7527 GB, free: 62.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004792, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2923, allocations: 116.4 MB / 0.9905 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8072/1.1, allocations: 193.7 MB / 1.18 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/1.1, allocations: 100.4 kB / 1.18 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1671/1.267, allocations: 66.74 MB / 1.245 GB, free: 340 kB / 0.8073 GB Notification: Performance of FrontEnd: time 3.426e-06/1.267, allocations: 0 / 1.245 GB, free: 340 kB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001899/1.267, allocations: 36 kB / 1.245 GB, free: 304 kB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006073/1.273, allocations: 1.773 MB / 1.247 GB, free: 14.47 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.273, allocations: 8.031 kB / 1.247 GB, free: 14.46 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003779/1.277, allocations: 0.666 MB / 1.247 GB, free: 13.79 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/1.281, allocations: 1.267 MB / 1.249 GB, free: 12.48 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.281, allocations: 123.2 kB / 1.249 GB, free: 12.36 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006671/1.281, allocations: 152 kB / 1.249 GB, free: 12.21 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006296/1.288, allocations: 2.667 MB / 1.251 GB, free: 9.484 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.345e-05/1.288, allocations: 4 kB / 1.251 GB, free: 9.48 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003087/1.288, allocations: 71.98 kB / 1.252 GB, free: 9.41 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/1.288, allocations: 87.22 kB / 1.252 GB, free: 9.324 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004116/1.292, allocations: 2.222 MB / 1.254 GB, free: 7.098 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/1.306, allocations: 10.89 MB / 1.264 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/1.307, allocations: 0.7623 MB / 1.265 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008323/1.308, allocations: 0.5325 MB / 1.266 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/1.308, allocations: 101.5 kB / 1.266 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/1.308, allocations: 38.94 kB / 1.266 GB, free: 9.848 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 5.41e-06/1.308, allocations: 0 / 1.266 GB, free: 9.848 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.02797/1.336, allocations: 9.071 MB / 1.275 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/1.337, allocations: 89.77 kB / 1.275 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/1.339, allocations: 0.9376 MB / 1.276 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002025/1.339, allocations: 41.7 kB / 1.276 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008293/1.34, allocations: 0.7736 MB / 1.276 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000456/1.34, allocations: 252.4 kB / 1.277 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/1.34, allocations: 20 kB / 1.277 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003787/1.341, allocations: 402.7 kB / 1.277 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/1.343, allocations: 0.8067 MB / 1.278 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/1.344, allocations: 1.175 MB / 1.279 GB, free: 12 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/1.348, allocations: 2.013 MB / 1.281 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.674e-05/1.348, allocations: 4 kB / 1.281 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01123/1.359, allocations: 3.814 MB / 1.285 GB, free: 6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004739/1.36, allocations: 425.1 kB / 1.285 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/1.36, allocations: 12 kB / 1.285 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008629/1.369, allocations: 2.177 MB / 1.287 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/1.37, allocations: 227.6 kB / 1.287 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/1.389, allocations: 11.44 MB / 1.299 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/1.391, allocations: 207.5 kB / 1.299 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/1.391, allocations: 44 kB / 1.299 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.391, allocations: 4 kB / 1.299 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008011/1.399, allocations: 3.107 MB / 1.302 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.139e-05/1.399, allocations: 12 kB / 1.302 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00528/1.404, allocations: 1.368 MB / 1.303 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.406, allocations: 299.4 kB / 1.304 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/1.417, allocations: 6.593 MB / 1.31 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/1.419, allocations: 171.8 kB / 1.31 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/1.419, allocations: 44 kB / 1.31 GB, free: 11.34 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.001693/1.421, allocations: 0.8948 MB / 1.311 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/1.421, allocations: 90.91 kB / 1.311 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008996/1.43, allocations: 3.371 MB / 1.314 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/1.43, allocations: 8 kB / 1.314 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.43, allocations: 4 kB / 1.314 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/1.43, allocations: 3.984 kB / 1.314 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/1.444, allocations: 5.944 MB / 1.32 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.444, allocations: 0 / 1.32 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/1.444, allocations: 115.8 kB / 1.32 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007415/1.452, allocations: 1.963 MB / 1.322 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/1.452, allocations: 20 kB / 1.322 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/1.467, allocations: 9.831 MB / 1.332 GB, free: 4.684 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.467, allocations: 7.938 kB / 1.332 GB, free: 4.676 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008576/1.476, allocations: 3.221 MB / 1.335 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000824/1.477, allocations: 335.9 kB / 1.335 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/1.477, allocations: 16 kB / 1.335 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.478, allocations: 151.8 kB / 1.336 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003614/1.478, allocations: 68.34 kB / 1.336 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.479, allocations: 20 kB / 1.336 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001425/1.48, allocations: 0.6707 MB / 1.336 GB, free: 144 kB / 0.9011 GB Notification: Performance of sort global known variables: time 3.11e-07/1.48, allocations: 0 / 1.336 GB, free: 144 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003587/1.484, allocations: 0.7305 MB / 1.337 GB, free: 15.41 MB / 0.9167 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 (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004434/1.484, allocations: 174.8 kB / 1.337 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009054/1.493, allocations: 4.13 MB / 1.341 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/1.493, allocations: 0 / 1.341 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003146/1.496, allocations: 1.492 MB / 1.343 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/1.498, allocations: 245.5 kB / 1.343 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007393/1.506, allocations: 4.076 MB / 1.347 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/1.508, allocations: 1.73 MB / 1.349 GB, free: 3.422 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001593/1.509, allocations: 0.5226 MB / 1.349 GB, free: 2.895 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/1.51, allocations: 59.42 kB / 1.349 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of SimCode: time 1.062e-06/1.51, allocations: 0 / 1.349 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of Templates: time 0.5557/2.065, allocations: 29.93 MB / 1.378 GB, free: 220.7 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)