Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001349/0.001349, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.649/1.649, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.736/1.736, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001396/0.001396, allocations: 75.89 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.289, allocations: 114.5 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04085/0.3299, allocations: 36.91 MB / 0.8189 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02556/0.3555, allocations: 13.44 MB / 0.832 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005085/0.3607, allocations: 95.62 kB / 0.8321 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00609/0.3669, allocations: 2.127 MB / 0.8342 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004424/0.3713, allocations: 1.3 MB / 0.8355 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008872/0.3802, allocations: 3.272 MB / 0.8387 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008397/0.3886, allocations: 6.426 MB / 0.8449 GB, free: 14.16 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01792/0.4066, allocations: 11.97 MB / 0.8566 GB, free: 2.078 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00493/0.4116, allocations: 2.758 MB / 0.8593 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007084/0.4187, allocations: 3.37 MB / 0.8626 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.4205, allocations: 0.6211 MB / 0.8632 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.4235, allocations: 1.225 MB / 0.8644 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003245/0.4267, allocations: 2.48 MB / 0.8668 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004292/0.431, allocations: 2.549 MB / 0.8693 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009972/0.441, allocations: 9.143 MB / 0.8783 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.4411, allocations: 0 / 0.8783 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4411, allocations: 0 / 0.8783 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000277/0.4414, allocations: 4 kB / 0.8783 GB, free: 11.87 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01143/0.4528, allocations: 4.295 MB / 0.8825 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.4529, allocations: 12.02 kB / 0.8825 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004124/0.457, allocations: 0.9481 MB / 0.8834 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004968/0.462, allocations: 2.183 MB / 0.8855 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.4624, allocations: 329 kB / 0.8858 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.4636, allocations: 432.2 kB / 0.8862 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/0.4808, allocations: 7.362 MB / 0.8934 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001867/0.481, allocations: 7.938 kB / 0.8934 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/0.4822, allocations: 184 kB / 0.8936 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004089/0.4827, allocations: 286.9 kB / 0.8939 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.4971, allocations: 5.967 MB / 0.8997 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6176/1.115, allocations: 32.61 MB / 0.9316 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003349/1.118, allocations: 2.113 MB / 0.9336 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/1.12, allocations: 1.236 MB / 0.9348 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/1.12, allocations: 106.3 kB / 0.9349 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.12, allocations: 50.38 kB / 0.935 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 3.106e-06/1.12, allocations: 0 / 0.935 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.007476/1.127, allocations: 5.233 MB / 0.9401 GB, free: 112 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/1.127, allocations: 143.7 kB / 0.9402 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/1.13, allocations: 1.457 MB / 0.9417 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.619e-05/1.13, allocations: 42.67 kB / 0.9417 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/1.131, allocations: 1.862 MB / 0.9435 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/1.131, allocations: 375.8 kB / 0.9439 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007948/1.132, allocations: 465.9 kB / 0.9443 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.99e-05/1.132, allocations: 301.1 kB / 0.9446 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/1.134, allocations: 1.121 MB / 0.9457 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/1.137, allocations: 2.182 MB / 0.9478 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004006/1.141, allocations: 3.407 MB / 0.9512 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-05/1.141, allocations: 9.906 kB / 0.9512 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005152/1.146, allocations: 3.31 MB / 0.9544 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/1.146, allocations: 19.09 kB / 0.9544 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.35e-05/1.146, allocations: 33.62 kB / 0.9545 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.519e-05/1.146, allocations: 50.47 kB / 0.9545 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/1.148, allocations: 0.6189 MB / 0.9551 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.09e-05/1.148, allocations: 80.05 kB / 0.9552 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.15, allocations: 307.3 kB / 0.9555 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/1.151, allocations: 120.5 kB / 0.9556 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003419/1.154, allocations: 2.402 MB / 0.9579 GB, free: 102.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001775/1.156, allocations: 2.013 MB / 0.9599 GB, free: 100.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002876/1.159, allocations: 3.03 MB / 0.9629 GB, free: 98.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.96e-05/1.159, allocations: 9.969 kB / 0.9629 GB, free: 98.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.003791/1.162, allocations: 2.922 MB / 0.9657 GB, free: 96.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/1.163, allocations: 20.75 kB / 0.9657 GB, free: 96.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/1.163, allocations: 35.62 kB / 0.9658 GB, free: 96.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.565e-05/1.163, allocations: 47.53 kB / 0.9658 GB, free: 96.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.164, allocations: 0.555 MB / 0.9664 GB, free: 96.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.332e-05/1.164, allocations: 70.94 kB / 0.9664 GB, free: 96.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/1.166, allocations: 253.2 kB / 0.9667 GB, free: 96.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/1.166, allocations: 110.4 kB / 0.9668 GB, free: 96.38 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006962/1.167, allocations: 338.7 kB / 0.9671 GB, free: 96.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/1.167, allocations: 153.4 kB / 0.9673 GB, free: 96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/1.17, allocations: 2.223 MB / 0.9694 GB, free: 94.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/1.17, allocations: 13.97 kB / 0.9694 GB, free: 94.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.17, allocations: 3.938 kB / 0.9694 GB, free: 94.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/1.17, allocations: 7.969 kB / 0.9694 GB, free: 94.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.183, allocations: 10.97 MB / 0.9802 GB, free: 88.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.183, allocations: 10.22 kB / 0.9802 GB, free: 88.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/1.184, allocations: 382.2 kB / 0.9805 GB, free: 88.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.681e-05/1.184, allocations: 18.41 kB / 0.9806 GB, free: 88.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-05/1.184, allocations: 33.06 kB / 0.9806 GB, free: 88.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-05/1.184, allocations: 28.77 kB / 0.9806 GB, free: 88.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/1.184, allocations: 17.12 kB / 0.9806 GB, free: 88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/1.187, allocations: 2.757 MB / 0.9833 GB, free: 85.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007406/1.188, allocations: 446.8 kB / 0.9837 GB, free: 85.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/1.188, allocations: 50.77 kB / 0.9838 GB, free: 85.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.189, allocations: 163.7 kB / 0.984 GB, free: 85.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/1.189, allocations: 100.2 kB / 0.984 GB, free: 85.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/1.189, allocations: 40 kB / 0.9841 GB, free: 84.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001066/1.191, allocations: 0.9703 MB / 0.985 GB, free: 84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/1.191, allocations: 0 / 0.985 GB, free: 84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00407/1.195, allocations: 1.129 MB / 0.9861 GB, free: 82.87 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002473/1.195, allocations: 158.8 kB / 0.9863 GB, free: 82.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005865/1.201, allocations: 4.228 MB / 0.9904 GB, free: 78.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.201, allocations: 4 kB / 0.9904 GB, free: 78.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/1.202, allocations: 1.059 MB / 0.9915 GB, free: 77.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/1.205, allocations: 444.2 kB / 0.9919 GB, free: 77.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/1.216, allocations: 8.784 MB / 1 GB, free: 68.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/1.219, allocations: 2.868 MB / 1.003 GB, free: 65.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002896/1.222, allocations: 1.216 MB / 1.004 GB, free: 63.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/1.222, allocations: 123.4 kB / 1.005 GB, free: 63.86 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/1.222, allocations: 0 / 1.005 GB, free: 63.86 MB / 0.7325 GB Notification: Performance of Templates: time 0.03888/1.261, allocations: 24.46 MB / 1.028 GB, free: 39.68 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)