Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001373/0.001373, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.609/2.609, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005014, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8855/0.8861, allocations: 142.4 MB / 0.9544 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.004233/0.8904, allocations: 3.81 MB / 0.9582 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003203/0.8936, allocations: 2.471 MB / 0.9606 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.8938, allocations: 13.38 kB / 0.9606 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.894, allocations: 71.66 kB / 0.9607 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.8946, allocations: 312.4 kB / 0.961 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.8955, allocations: 414.4 kB / 0.9614 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.8962, allocations: 0.8277 MB / 0.9622 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006852/0.8969, allocations: 481.5 kB / 0.9626 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.8972, allocations: 230.4 kB / 0.9628 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.8977, allocations: 331.8 kB / 0.9632 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.8977, allocations: 19.59 kB / 0.9632 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.898, allocations: 144.5 kB / 0.9633 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.8982, allocations: 177 kB / 0.9635 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.69e-05/0.8983, allocations: 108 kB / 0.9636 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.8987, allocations: 0.5319 MB / 0.9641 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8987, allocations: 3.938 kB / 0.9641 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8988, allocations: 4.844 kB / 0.9641 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.8988, allocations: 0 / 0.9641 GB, free: 0.582 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001164/0.8999, allocations: 0.7584 MB / 0.9649 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.9, allocations: 9.312 kB / 0.9649 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000837/0.9008, allocations: 150.8 kB / 0.965 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.9013, allocations: 351.6 kB / 0.9653 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.9014, allocations: 34.53 kB / 0.9654 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.822e-05/0.9015, allocations: 43.3 kB / 0.9654 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.9029, allocations: 0.8474 MB / 0.9662 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.9029, allocations: 10.77 kB / 0.9663 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.903, allocations: 26.62 kB / 0.9663 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-05/0.9031, allocations: 60.55 kB / 0.9663 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.9044, allocations: 0.7043 MB / 0.967 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00421/0.9087, allocations: 4.49 MB / 0.9714 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.91, allocations: 0.6204 MB / 0.972 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.9106, allocations: 320.2 kB / 0.9723 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.9107, allocations: 8.156 kB / 0.9723 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.9107, allocations: 37.64 kB / 0.9724 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=38): time 2.304e-06/0.9107, allocations: 0 / 0.9724 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.002286/0.913, allocations: 0.9977 MB / 0.9733 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.9131, allocations: 81.3 kB / 0.9734 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.9135, allocations: 349.7 kB / 0.9738 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.9135, allocations: 31.86 kB / 0.9738 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.9138, allocations: 286.9 kB / 0.9741 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.9139, allocations: 140.4 kB / 0.9742 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.914, allocations: 9.812 kB / 0.9742 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.9141, allocations: 353 kB / 0.9745 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.9147, allocations: 275 kB / 0.9748 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/0.9155, allocations: 496.2 kB / 0.9753 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/0.9162, allocations: 338.3 kB / 0.9756 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.9162, allocations: 6.469 kB / 0.9756 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001536/0.9177, allocations: 0.814 MB / 0.9764 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.918, allocations: 295.2 kB / 0.9767 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.918, allocations: 6.969 kB / 0.9767 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/0.918, allocations: 10.28 kB / 0.9767 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/0.9188, allocations: 184.9 kB / 0.9769 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.9188, allocations: 9.688 kB / 0.9769 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.9193, allocations: 85.52 kB / 0.977 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.9194, allocations: 24.5 kB / 0.977 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.9194, allocations: 7.531 kB / 0.977 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001167/0.9206, allocations: 0.6432 MB / 0.9776 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9206, allocations: 7.906 kB / 0.9776 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.9206, allocations: 9.594 kB / 0.9776 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.9212, allocations: 165 kB / 0.9778 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.9212, allocations: 17.27 kB / 0.9778 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.9216, allocations: 66.2 kB / 0.9779 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.9216, allocations: 24.16 kB / 0.9779 GB, free: 6.117 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000378/0.922, allocations: 288 kB / 0.9782 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.9221, allocations: 39.78 kB / 0.9782 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.9235, allocations: 0.6868 MB / 0.9789 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.9235, allocations: 3.906 kB / 0.9789 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.9235, allocations: 1.281 kB / 0.9789 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.9235, allocations: 4 kB / 0.9789 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.9258, allocations: 1.483 MB / 0.9803 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.9258, allocations: 0 / 0.9803 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/0.9265, allocations: 151.7 kB / 0.9805 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.9265, allocations: 4 kB / 0.9805 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.9266, allocations: 15.95 kB / 0.9805 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.9266, allocations: 12.22 kB / 0.9805 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.9266, allocations: 4 kB / 0.9805 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.9278, allocations: 0.8302 MB / 0.9813 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.928, allocations: 172.5 kB / 0.9815 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.9281, allocations: 8 kB / 0.9815 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.9285, allocations: 71.78 kB / 0.9816 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.9286, allocations: 27.97 kB / 0.9816 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.9286, allocations: 15.94 kB / 0.9816 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000344/0.929, allocations: 255.1 kB / 0.9819 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.11e-07/0.929, allocations: 0 / 0.9819 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001138/0.9301, allocations: 192 kB / 0.982 GB, free: 2.254 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002083/0.9303, allocations: 119.1 kB / 0.9821 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002289/0.9326, allocations: 1.003 MB / 0.9831 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9327, allocations: 3.938 kB / 0.9831 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006561/0.9333, allocations: 316.1 kB / 0.9834 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008765/0.9342, allocations: 116.3 kB / 0.9835 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.9369, allocations: 1.251 MB / 0.9848 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.9376, allocations: 0.8796 MB / 0.9856 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007315/0.9383, allocations: 208.1 kB / 0.9858 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.9385, allocations: 35.44 kB / 0.9859 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of SimCode: time 1.623e-06/0.9385, allocations: 0 / 0.9859 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of Templates: time 0.01247/0.951, allocations: 6.001 MB / 0.9917 GB, free: 8.312 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)