Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001913/0.001913, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.445/1.445, allocations: 205.1 MB / 222.8 MB, free: 4.648 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.655/1.655, 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.001362/0.001362, allocations: 66.17 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1994, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006394/0.2058, allocations: 5.173 MB / 0.7886 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005073/0.211, allocations: 3.748 MB / 0.7922 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.2113, allocations: 7.938 kB / 0.7922 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.2132, allocations: 0.5421 MB / 0.7928 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.2144, allocations: 432 kB / 0.7932 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.2151, allocations: 247.5 kB / 0.7934 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.2162, allocations: 0.7047 MB / 0.7941 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007855/0.217, allocations: 0.5915 MB / 0.7947 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004786/0.2175, allocations: 359 kB / 0.795 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/0.218, allocations: 314.9 kB / 0.7953 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.218, allocations: 44 kB / 0.7954 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.2185, allocations: 291.5 kB / 0.7956 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.2187, allocations: 175.5 kB / 0.7958 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.2189, allocations: 246.9 kB / 0.796 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006549/0.2196, allocations: 0.6937 MB / 0.7967 GB, free: 344 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2196, allocations: 0 / 0.7967 GB, free: 344 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2196, allocations: 0 / 0.7967 GB, free: 344 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.2196, allocations: 0 / 0.7967 GB, free: 344 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001367/0.221, allocations: 0.7986 MB / 0.7975 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2211, allocations: 16.03 kB / 0.7975 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.2238, allocations: 0.6671 MB / 0.7982 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/0.2245, allocations: 460.4 kB / 0.7986 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.2245, allocations: 21.03 kB / 0.7986 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.2246, allocations: 32.12 kB / 0.7987 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.2262, allocations: 0.8239 MB / 0.7995 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.2262, allocations: 0 / 0.7995 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.2263, allocations: 15.98 kB / 0.7995 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001801/0.2265, allocations: 68.58 kB / 0.7995 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.2285, allocations: 0.9155 MB / 0.8004 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.2324, allocations: 2.855 MB / 0.8032 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.234, allocations: 0.5488 MB / 0.8038 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007203/0.2348, allocations: 304.6 kB / 0.8041 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.2349, allocations: 85.11 kB / 0.8041 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.235, allocations: 38.56 kB / 0.8042 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/0.235, allocations: 0 / 0.8042 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36): time 0.01375/0.2487, allocations: 3.774 MB / 0.8079 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.2488, allocations: 67.25 kB / 0.8079 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.2494, allocations: 433.5 kB / 0.8083 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.168e-05/0.2495, allocations: 29.7 kB / 0.8084 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.2497, allocations: 240.1 kB / 0.8086 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.2498, allocations: 126.1 kB / 0.8087 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.25, allocations: 90.11 kB / 0.8088 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2502, allocations: 350.8 kB / 0.8091 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009681/0.2512, allocations: 418.2 kB / 0.8095 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.2522, allocations: 0.493 MB / 0.81 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.2542, allocations: 0.8993 MB / 0.8109 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2542, allocations: 0 / 0.8109 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005658/0.2598, allocations: 1.814 MB / 0.8127 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.2599, allocations: 4 kB / 0.8127 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2599, allocations: 8.188 kB / 0.8127 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004385/0.2643, allocations: 0.969 MB / 0.8136 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.265, allocations: 127.8 kB / 0.8137 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.2754, allocations: 6.65 MB / 0.8202 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008818/0.2764, allocations: 99.83 kB / 0.8203 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.948e-05/0.2765, allocations: 19.98 kB / 0.8204 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001215/0.2777, allocations: 0.6139 MB / 0.821 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009906/0.2787, allocations: 480.5 kB / 0.8214 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001821/0.2805, allocations: 0.8782 MB / 0.8223 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.536e-06/0.2806, allocations: 0 / 0.8223 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00488/0.2854, allocations: 1.595 MB / 0.8238 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.2855, allocations: 10.97 kB / 0.8238 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2855, allocations: 3.938 kB / 0.8238 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/0.2886, allocations: 0.704 MB / 0.8245 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.2892, allocations: 135.8 kB / 0.8247 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007952/0.2972, allocations: 5.813 MB / 0.8303 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/0.2981, allocations: 103.8 kB / 0.8304 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/0.2982, allocations: 16 kB / 0.8304 GB, free: 12.63 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002446/0.2984, allocations: 207.3 kB / 0.8306 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.2986, allocations: 39.53 kB / 0.8307 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005406/0.304, allocations: 1.716 MB / 0.8324 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.304, allocations: 4 kB / 0.8324 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.304, allocations: 4 kB / 0.8324 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3041, allocations: 3.984 kB / 0.8324 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006152/0.3102, allocations: 2.401 MB / 0.8347 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.3103, allocations: 8.094 kB / 0.8347 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.3107, allocations: 79.89 kB / 0.8348 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003802/0.3145, allocations: 0.8873 MB / 0.8357 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.3146, allocations: 11.98 kB / 0.8357 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009074/0.3237, allocations: 6.326 MB / 0.8419 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.3237, allocations: 7.969 kB / 0.8419 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00485/0.3286, allocations: 1.669 MB / 0.8435 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.3289, allocations: 180.6 kB / 0.8437 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.329, allocations: 8 kB / 0.8437 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006271/0.3297, allocations: 83.86 kB / 0.8438 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.3299, allocations: 47.77 kB / 0.8438 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.3299, allocations: 8 kB / 0.8438 GB, free: 14.52 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004045/0.3303, allocations: 323.1 kB / 0.8441 GB, free: 14.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3304, allocations: 4 kB / 0.8441 GB, free: 14.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001037/0.3314, allocations: 256 kB / 0.8444 GB, free: 13.95 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001964/0.3316, allocations: 119.2 kB / 0.8445 GB, free: 13.82 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006188/0.3378, allocations: 2.466 MB / 0.8469 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.3378, allocations: 0 / 0.8469 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.3403, allocations: 0.9621 MB / 0.8478 GB, free: 10.32 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.3411, allocations: 128.6 kB / 0.8479 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.3435, allocations: 1.45 MB / 0.8494 GB, free: 8.699 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.3441, allocations: 0.9412 MB / 0.8503 GB, free: 7.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.3443, allocations: 39.42 kB / 0.8503 GB, free: 7.691 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/0.3443, allocations: 0 / 0.8503 GB, free: 7.691 MB / 0.67 GB Notification: Performance of Templates: time 0.01724/0.3615, allocations: 13.64 MB / 0.8636 GB, free: 10.08 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)