Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.304/2.304, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.00132, allocations: 179.3 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.344/2.344, allocations: 205.4 MB / 0.5772 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009594/0.000959, allocations: 96.34 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004688, allocations: 12.72 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2196, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9608/1.18, allocations: 164.4 MB / 1.06 GB, free: 65.19 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006019/1.181, allocations: 101.2 kB / 1.06 GB, free: 65.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7842/1.965, allocations: 182.5 MB / 1.238 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.947e-06/1.965, allocations: 0 / 1.238 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005032/1.966, allocations: 132 kB / 1.238 GB, free: 6.91 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02072/1.987, allocations: 4.488 MB / 1.243 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.987, allocations: 8.031 kB / 1.243 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/1.997, allocations: 1.025 MB / 1.244 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/2.009, allocations: 3.223 MB / 1.247 GB, free: 14.03 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005183/2.01, allocations: 358.1 kB / 1.247 GB, free: 13.68 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/2.012, allocations: 476.2 kB / 1.248 GB, free: 13.21 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.026/2.038, allocations: 7.543 MB / 1.255 GB, free: 5.195 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/2.038, allocations: 16.06 kB / 1.255 GB, free: 5.18 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001651/2.04, allocations: 227.8 kB / 1.255 GB, free: 4.957 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004857/2.041, allocations: 269.2 kB / 1.256 GB, free: 4.691 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01922/2.06, allocations: 5.399 MB / 1.261 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06425/2.124, allocations: 36.28 MB / 1.296 GB, free: 7.766 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005966/2.13, allocations: 2.132 MB / 1.298 GB, free: 5.625 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003448/2.134, allocations: 1.469 MB / 1.3 GB, free: 4.152 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/2.134, allocations: 21.3 kB / 1.3 GB, free: 4.129 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/2.134, allocations: 55.88 kB / 1.3 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=157): time 4.459e-06/2.134, allocations: 0 / 1.3 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of matching and sorting (n=160): time 0.02379/2.158, allocations: 7.552 MB / 1.307 GB, free: 12.23 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/2.158, allocations: 68.72 kB / 1.307 GB, free: 12.16 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003783/2.162, allocations: 1.806 MB / 1.309 GB, free: 10.32 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 0.0004037/2.162, allocations: 57.7 kB / 1.309 GB, free: 10.26 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/2.164, allocations: 2.096 MB / 1.311 GB, free: 8.141 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009198/2.165, allocations: 0.5545 MB / 1.312 GB, free: 7.578 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/2.165, allocations: 48 kB / 1.312 GB, free: 7.531 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.0002297/2.166, allocations: 382.1 kB / 1.312 GB, free: 7.152 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/2.168, allocations: 1.015 MB / 1.313 GB, free: 6.133 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003243/2.171, allocations: 1.736 MB / 1.315 GB, free: 4.055 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003208/2.175, allocations: 1.302 MB / 1.316 GB, free: 2.754 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/2.175, allocations: 8 kB / 1.316 GB, free: 2.746 MB / 0.8074 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01104/2.186, allocations: 3.807 MB / 1.32 GB, free: 14.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/2.186, allocations: 12 kB / 1.32 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.397e-05/2.186, allocations: 24 kB / 1.32 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004281/2.19, allocations: 0.9118 MB / 1.321 GB, free: 13.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/2.193, allocations: 423.2 kB / 1.321 GB, free: 13.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02957/2.223, allocations: 21.03 MB / 1.342 GB, free: 6.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003171/2.226, allocations: 123.9 kB / 1.342 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000283/2.226, allocations: 92 kB / 1.342 GB, free: 6.641 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (215): * Single equations (assignments): 203 * 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%) 6,(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.004853/2.231, allocations: 1.656 MB / 1.344 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008451/2.232, allocations: 257 kB / 1.344 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009337/2.241, allocations: 3.256 MB / 1.347 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/2.242, allocations: 16 kB / 1.347 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/2.242, allocations: 12 kB / 1.347 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/2.242, allocations: 7.969 kB / 1.347 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/2.262, allocations: 7.506 MB / 1.354 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/2.263, allocations: 7.938 kB / 1.354 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/2.264, allocations: 220.2 kB / 1.355 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004144/2.269, allocations: 0.8804 MB / 1.355 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/2.269, allocations: 32 kB / 1.355 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02966/2.299, allocations: 21 MB / 1.376 GB, free: 1.941 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/2.299, allocations: 8 kB / 1.376 GB, free: 1.934 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009988/2.309, allocations: 3.364 MB / 1.379 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00233/2.311, allocations: 0.533 MB / 1.38 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007739/2.312, allocations: 32 kB / 1.38 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/2.314, allocations: 87.89 kB / 1.38 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000635/2.315, allocations: 141 kB / 1.38 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001974/2.315, allocations: 48 kB / 1.38 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002954/2.318, allocations: 1.182 MB / 1.381 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.81e-07/2.318, allocations: 0 / 1.381 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005315/2.323, allocations: 0.9413 MB / 1.382 GB, free: 11.46 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006167/2.324, allocations: 162.9 kB / 1.382 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01104/2.335, allocations: 4.335 MB / 1.387 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/2.335, allocations: 4 kB / 1.387 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007525/2.343, allocations: 2.996 MB / 1.389 GB, free: 3.652 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006389/2.349, allocations: 0.7487 MB / 1.39 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6679/3.017, allocations: 9.192 MB / 1.399 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009828/3.027, allocations: 3.205 MB / 1.402 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004055/3.031, allocations: 0.5183 MB / 1.403 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/3.032, allocations: 140.6 kB / 1.403 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.423e-06/3.032, allocations: 4.875 kB / 1.403 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.1135/3.146, allocations: 38.87 MB / 1.441 GB, free: 220 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)