Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 91.14 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.001539/0.001539, 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 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 222.1 MB, free: 5.875 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.536/1.536, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.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.0005138/0.0005138, allocations: 12 kB / 0.6243 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5491/0.5497, allocations: 106.3 MB / 0.7281 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01917/0.5689, allocations: 17.44 MB / 0.7452 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01374/0.5827, allocations: 9.102 MB / 0.7541 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.5845, allocations: 59.75 kB / 0.7541 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.5858, allocations: 349.4 kB / 0.7544 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003194/0.589, allocations: 1.111 MB / 0.7555 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.5911, allocations: 0.6812 MB / 0.7562 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004632/0.5957, allocations: 4.495 MB / 0.7606 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007937/0.6037, allocations: 5.576 MB / 0.766 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.6063, allocations: 1.312 MB / 0.7673 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003819/0.6101, allocations: 1.631 MB / 0.7689 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005688/0.6107, allocations: 152 kB / 0.769 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.6122, allocations: 355.6 kB / 0.7694 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.6135, allocations: 1.154 MB / 0.7705 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007312/0.6142, allocations: 0.5277 MB / 0.771 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.619, allocations: 4.48 MB / 0.7754 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.619, allocations: 4 kB / 0.7754 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.935e-06/0.619, allocations: 0 / 0.7754 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001479/0.6192, allocations: 0 / 0.7754 GB, free: 10.93 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 652 * Number of variables: 652 Notification: Performance of Generate backend data structure: time 0.005517/0.6247, allocations: 2.423 MB / 0.7778 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.6248, allocations: 12.03 kB / 0.7778 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.6275, allocations: 0.5121 MB / 0.7783 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.6302, allocations: 1.478 MB / 0.7797 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.6304, allocations: 210.6 kB / 0.7799 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/0.6308, allocations: 255.9 kB / 0.7802 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008174/0.639, allocations: 3.886 MB / 0.784 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-05/0.6391, allocations: 8 kB / 0.784 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.6394, allocations: 103.9 kB / 0.7841 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004276/0.6399, allocations: 184.9 kB / 0.7843 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006687/0.6465, allocations: 3.115 MB / 0.7873 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01934/0.6659, allocations: 13.76 MB / 0.8007 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.6674, allocations: 0.7315 MB / 0.8015 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008037/0.6682, allocations: 0.518 MB / 0.802 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.6684, allocations: 93.53 kB / 0.802 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008683/0.6693, allocations: 0.5988 MB / 0.8026 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=56): time 2.776e-06/0.6693, allocations: 0 / 0.8026 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78): time 0.02446/0.6937, allocations: 8.835 MB / 0.8113 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001914/0.694, allocations: 406.1 kB / 0.8116 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.6959, allocations: 1.238 MB / 0.8129 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.696, allocations: 41.7 kB / 0.8129 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.6974, allocations: 1.254 MB / 0.8141 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.6978, allocations: 272.3 kB / 0.8144 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.6979, allocations: 32 kB / 0.8144 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.6981, allocations: 369.9 kB / 0.8148 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.6994, allocations: 0.7456 MB / 0.8155 GB, free: 132 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.7011, allocations: 1.449 MB / 0.8169 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.7026, allocations: 1.111 MB / 0.818 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.7026, allocations: 11.95 kB / 0.818 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008386/0.711, allocations: 3.547 MB / 0.8215 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008739/0.712, allocations: 0.8219 MB / 0.8223 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-05/0.712, allocations: 24 kB / 0.8223 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005628/0.7176, allocations: 1.427 MB / 0.8237 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.7189, allocations: 315.3 kB / 0.824 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.7339, allocations: 10.66 MB / 0.8344 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.7356, allocations: 147.5 kB / 0.8345 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.7358, allocations: 76 kB / 0.8346 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.7359, allocations: 4.094 kB / 0.8346 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006508/0.7424, allocations: 3.027 MB / 0.8376 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-05/0.7425, allocations: 24 kB / 0.8376 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003497/0.746, allocations: 0.9387 MB / 0.8385 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.7474, allocations: 335.4 kB / 0.8388 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008477/0.7559, allocations: 5.927 MB / 0.8446 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.7577, allocations: 119.8 kB / 0.8447 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.7578, allocations: 79.98 kB / 0.8448 GB, free: 0.5391 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.00214/0.76, allocations: 1.114 MB / 0.8459 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.7602, allocations: 134.4 kB / 0.846 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006535/0.7668, allocations: 2.585 MB / 0.8486 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.7668, allocations: 12 kB / 0.8486 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.7668, allocations: 4 kB / 0.8486 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.7668, allocations: 7.984 kB / 0.8486 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.7773, allocations: 5.233 MB / 0.8537 GB, free: 7.277 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.7774, allocations: 0 / 0.8537 GB, free: 7.277 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.7778, allocations: 104.1 kB / 0.8538 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005194/0.783, allocations: 1.318 MB / 0.8551 GB, free: 5.844 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.7832, allocations: 20 kB / 0.8551 GB, free: 5.824 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/0.7965, allocations: 10.35 MB / 0.8652 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.7965, allocations: 7.938 kB / 0.8652 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007617/0.8041, allocations: 3.568 MB / 0.8687 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/0.8049, allocations: 323.4 kB / 0.869 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.8051, allocations: 24 kB / 0.869 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008408/0.806, allocations: 87.86 kB / 0.8691 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/0.8063, allocations: 72.36 kB / 0.8692 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.8064, allocations: 36.05 kB / 0.8692 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001272/0.8076, allocations: 0.8151 MB / 0.87 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8076, allocations: 0 / 0.87 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003326/0.811, allocations: 0.8945 MB / 0.8709 GB, free: 5.039 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (load_ctrl.vCTRL_1.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002887/0.8113, allocations: 132.8 kB / 0.871 GB, free: 4.898 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008523/0.8198, allocations: 4.427 MB / 0.8753 GB, free: 360 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8198, allocations: 0 / 0.8753 GB, free: 360 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003136/0.823, allocations: 1.604 MB / 0.8769 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.8249, allocations: 344.5 kB / 0.8772 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00822/0.8331, allocations: 5.046 MB / 0.8821 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.8352, allocations: 2.018 MB / 0.8841 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001829/0.837, allocations: 0.6667 MB / 0.8848 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.8372, allocations: 87.38 kB / 0.8849 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of SimCode: time 9.72e-07/0.8373, allocations: 0 / 0.8849 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of Templates: time 0.4212/1.258, allocations: 29.39 MB / 0.9136 GB, free: 164.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1) Environment - environmentSimulation: