Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 109.3 kB / 16.29 MB, free: 6.43 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.002044/0.002044, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.482/1.482, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.875/1.875, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001684/0.001684, allocations: 71.89 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2963, allocations: 114.5 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.5117/0.808, allocations: 11.05 MB / 0.7949 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.8182, allocations: 5.821 MB / 0.8006 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.8198, allocations: 54.62 kB / 0.8006 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004049/0.8239, allocations: 1.729 MB / 0.8023 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.8276, allocations: 1.147 MB / 0.8034 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.8303, allocations: 0.8031 MB / 0.8042 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003163/0.8335, allocations: 2.125 MB / 0.8063 GB, free: 38.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.8355, allocations: 1.306 MB / 0.8076 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.8374, allocations: 0.8496 MB / 0.8084 GB, free: 37.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.8391, allocations: 0.9064 MB / 0.8093 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003076/0.8394, allocations: 118.3 kB / 0.8094 GB, free: 36.97 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.843, allocations: 1.167 MB / 0.8105 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009553/0.844, allocations: 0.5303 MB / 0.811 GB, free: 36.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.8451, allocations: 0.7856 MB / 0.8118 GB, free: 35.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005326/0.8505, allocations: 2.425 MB / 0.8142 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.8505, allocations: 4 kB / 0.8142 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.247e-06/0.8505, allocations: 0 / 0.8142 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.948e-05/0.8506, allocations: 5.594 kB / 0.8142 GB, free: 35.02 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003886/0.8544, allocations: 1.861 MB / 0.816 GB, free: 33.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.8545, allocations: 10.72 kB / 0.816 GB, free: 33.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/0.8594, allocations: 0.6675 MB / 0.8167 GB, free: 33.67 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/0.8621, allocations: 0.9162 MB / 0.8176 GB, free: 33.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.8623, allocations: 88.94 kB / 0.8176 GB, free: 33.08 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/0.8626, allocations: 131.2 kB / 0.8178 GB, free: 33.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004968/0.8675, allocations: 2.205 MB / 0.8199 GB, free: 31.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/0.8676, allocations: 21.88 kB / 0.8199 GB, free: 31.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.8678, allocations: 57.23 kB / 0.82 GB, free: 31.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003824/0.8682, allocations: 166.4 kB / 0.8202 GB, free: 31.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.8719, allocations: 1.861 MB / 0.822 GB, free: 31.08 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.8863, allocations: 12.45 MB / 0.8341 GB, free: 20.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004859/0.8912, allocations: 1.968 MB / 0.8361 GB, free: 20.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.8923, allocations: 0.6087 MB / 0.8367 GB, free: 19.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.8925, allocations: 100.5 kB / 0.8367 GB, free: 19.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.8925, allocations: 44.69 kB / 0.8368 GB, free: 19.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 5.26e-06/0.8926, allocations: 0 / 0.8368 GB, free: 19.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.007725/0.9003, allocations: 3.716 MB / 0.8404 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.9004, allocations: 63.39 kB / 0.8405 GB, free: 17.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.9019, allocations: 0.9193 MB / 0.8414 GB, free: 17.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.902, allocations: 44.98 kB / 0.8414 GB, free: 17.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/0.9025, allocations: 0.7242 MB / 0.8421 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/0.9029, allocations: 386.7 kB / 0.8425 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.9034, allocations: 287.2 kB / 0.8428 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.9035, allocations: 305.1 kB / 0.8431 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.9047, allocations: 0.6136 MB / 0.8437 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.9062, allocations: 1.111 MB / 0.8447 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.9087, allocations: 1.829 MB / 0.8465 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.9087, allocations: 5.312 kB / 0.8465 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003956/0.9127, allocations: 2.096 MB / 0.8486 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.9127, allocations: 11.12 kB / 0.8486 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/0.9128, allocations: 19.75 kB / 0.8486 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008769/0.9137, allocations: 259.7 kB / 0.8489 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.9151, allocations: 372.9 kB / 0.8492 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007602/0.9227, allocations: 11.58 MB / 0.8605 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.9246, allocations: 129.7 kB / 0.8606 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.9248, allocations: 76.73 kB / 0.8607 GB, free: 1.23 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008779/0.9257, allocations: 405 kB / 0.8611 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.9259, allocations: 131.2 kB / 0.8612 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.929, allocations: 1.68 MB / 0.8629 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.929, allocations: 14.77 kB / 0.8629 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.929, allocations: 2.844 kB / 0.8629 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.9291, allocations: 3.984 kB / 0.8629 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005967/0.935, allocations: 3.298 MB / 0.8661 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.9351, allocations: 5.594 kB / 0.8661 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009121/0.936, allocations: 222.9 kB / 0.8663 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007513/0.9367, allocations: 247.2 kB / 0.8666 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.305e-05/0.9368, allocations: 35.8 kB / 0.8666 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.947, allocations: 11.57 MB / 0.8779 GB, free: 1.84 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.947, allocations: 9.5 kB / 0.8779 GB, free: 1.836 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/0.9506, allocations: 1.799 MB / 0.8797 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007127/0.9513, allocations: 300 kB / 0.8799 GB, free: 480 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.9515, allocations: 30.77 kB / 0.88 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006944/0.9522, allocations: 90.22 kB / 0.8801 GB, free: 412 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.9524, allocations: 93.45 kB / 0.8802 GB, free: 356 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.9525, allocations: 38.34 kB / 0.8802 GB, free: 344 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001029/0.9535, allocations: 0.6164 MB / 0.8808 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9535, allocations: 4 kB / 0.8808 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001904/0.9555, allocations: 393.3 kB / 0.8812 GB, free: 15.94 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002701/0.9557, allocations: 147.2 kB / 0.8813 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004125/0.9599, allocations: 2.498 MB / 0.8838 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.9599, allocations: 1.281 kB / 0.8838 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002445/0.9623, allocations: 1.636 MB / 0.8853 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.9642, allocations: 359.8 kB / 0.8857 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.9696, allocations: 2.737 MB / 0.8884 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.9709, allocations: 1.328 MB / 0.8897 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001073/0.972, allocations: 360.9 kB / 0.89 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.9722, allocations: 95.42 kB / 0.8901 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of SimCode: time 9.52e-07/0.9723, allocations: 0 / 0.8901 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of Templates: time 0.03292/1.005, allocations: 17.07 MB / 0.9068 GB, free: 8.906 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)