Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 107 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001644, allocations: 189.1 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 72.75 kB / 0.6717 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2512, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008115/0.2593, allocations: 6.123 MB / 0.7895 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.2645, allocations: 3.212 MB / 0.7926 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006319/0.2652, allocations: 27.81 kB / 0.7927 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.2676, allocations: 0.8797 MB / 0.7935 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.2689, allocations: 442 kB / 0.7939 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.2701, allocations: 452.2 kB / 0.7944 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.2713, allocations: 1.104 MB / 0.7955 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009064/0.2722, allocations: 0.7133 MB / 0.7962 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.2727, allocations: 446.2 kB / 0.7966 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005244/0.2732, allocations: 494.2 kB / 0.797 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.2733, allocations: 60 kB / 0.7971 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007441/0.2741, allocations: 486.9 kB / 0.7976 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.2743, allocations: 295.2 kB / 0.7979 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.2747, allocations: 401.9 kB / 0.7982 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008664/0.2755, allocations: 0.9197 MB / 0.7991 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2755, allocations: 0 / 0.7991 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2756, allocations: 0 / 0.7991 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.2756, allocations: 0 / 0.7991 GB, free: 13.84 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0015/0.2771, allocations: 1.059 MB / 0.8002 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.2771, allocations: 8.031 kB / 0.8002 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.2785, allocations: 223.7 kB / 0.8004 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006825/0.2792, allocations: 0.5415 MB / 0.8009 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.2793, allocations: 49.67 kB / 0.801 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/0.2794, allocations: 60.38 kB / 0.801 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.2808, allocations: 1.038 MB / 0.802 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.2808, allocations: 7.906 kB / 0.802 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.2809, allocations: 27.98 kB / 0.8021 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.01e-05/0.281, allocations: 73.27 kB / 0.8021 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009788/0.2819, allocations: 0.6956 MB / 0.8028 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004747/0.2867, allocations: 5.749 MB / 0.8084 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/0.2875, allocations: 0.6089 MB / 0.809 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/0.2883, allocations: 420 kB / 0.8094 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.2883, allocations: 4 kB / 0.8094 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2884, allocations: 30.56 kB / 0.8095 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 3.427e-06/0.2884, allocations: 0 / 0.8095 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004263/0.2926, allocations: 2.066 MB / 0.8115 GB, free: 436 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.2927, allocations: 55.41 kB / 0.8115 GB, free: 368 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.2932, allocations: 466.8 kB / 0.812 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.2932, allocations: 37.7 kB / 0.812 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.2935, allocations: 383 kB / 0.8124 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.2936, allocations: 153.8 kB / 0.8125 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.2938, allocations: 110.2 kB / 0.8126 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2939, allocations: 362.8 kB / 0.813 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.2943, allocations: 249.2 kB / 0.8132 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.2948, allocations: 464.9 kB / 0.8137 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000861/0.2956, allocations: 0.7558 MB / 0.8144 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2956, allocations: 0 / 0.8144 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001795/0.2974, allocations: 1.066 MB / 0.8154 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2975, allocations: 8 kB / 0.8154 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2975, allocations: 12.06 kB / 0.8155 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.2985, allocations: 319.1 kB / 0.8158 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.2988, allocations: 103.8 kB / 0.8159 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007037/0.3059, allocations: 7.524 MB / 0.8232 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.3064, allocations: 32.02 kB / 0.8232 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.3064, allocations: 24 kB / 0.8233 GB, free: 3.52 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003476/0.3068, allocations: 241.6 kB / 0.8235 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.3069, allocations: 59.28 kB / 0.8235 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.3085, allocations: 0.916 MB / 0.8244 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3085, allocations: 4 kB / 0.8244 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3085, allocations: 4 kB / 0.8244 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3086, allocations: 3.984 kB / 0.8245 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.3111, allocations: 1.716 MB / 0.8261 GB, free: 476 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3111, allocations: 0 / 0.8261 GB, free: 476 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.3113, allocations: 43.91 kB / 0.8262 GB, free: 432 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009304/0.3122, allocations: 331.2 kB / 0.8265 GB, free: 88 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.3123, allocations: 8 kB / 0.8265 GB, free: 80 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006894/0.3192, allocations: 7.518 MB / 0.8338 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3192, allocations: 4 kB / 0.8338 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.3208, allocations: 1.003 MB / 0.8348 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.3211, allocations: 176.3 kB / 0.835 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.3212, allocations: 11.98 kB / 0.835 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.3214, allocations: 19.98 kB / 0.835 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/0.3215, allocations: 39.88 kB / 0.8351 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.3216, allocations: 16 kB / 0.8351 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003251/0.3219, allocations: 310.9 kB / 0.8354 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3219, allocations: 0 / 0.8354 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007529/0.3227, allocations: 199.9 kB / 0.8356 GB, free: 6.168 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001641/0.3228, allocations: 115.2 kB / 0.8357 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.3246, allocations: 1.25 MB / 0.8369 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3247, allocations: 0 / 0.8369 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.3258, allocations: 0.8696 MB / 0.8377 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.3268, allocations: 206.4 kB / 0.8379 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.329, allocations: 1.609 MB / 0.8395 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.3296, allocations: 0.9921 MB / 0.8405 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.3297, allocations: 39.44 kB / 0.8405 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.3297, allocations: 0 / 0.8405 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of Templates: time 0.02067/0.3504, allocations: 18.66 MB / 0.8587 GB, free: 14.28 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)