Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.018/2.018, allocations: 287.5 MB / 302.6 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 187.3 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007781/0.000778, allocations: 104.3 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004706, allocations: 15.41 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2267, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.0147/0.2414, allocations: 17.45 MB / 0.9957 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.2544, allocations: 9.099 MB / 1.005 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.2575, allocations: 59.75 kB / 1.005 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.2595, allocations: 353.4 kB / 1.005 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004225/0.2638, allocations: 1.105 MB / 1.006 GB, free: 56 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.2668, allocations: 0.6741 MB / 1.007 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00604/0.2729, allocations: 4.521 MB / 1.011 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.2836, allocations: 6.354 MB / 1.017 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.2865, allocations: 1.324 MB / 1.019 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.2899, allocations: 1.628 MB / 1.02 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006794/0.2906, allocations: 152 kB / 1.02 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.2921, allocations: 355.6 kB / 1.021 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001706/0.2938, allocations: 1.154 MB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009337/0.2947, allocations: 0.5238 MB / 1.022 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004415/0.2991, allocations: 4.484 MB / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2992, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2992, allocations: 3.938 kB / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001216/0.2993, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.6511 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.005179/0.3045, allocations: 2.396 MB / 1.029 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3046, allocations: 8.031 kB / 1.029 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.3074, allocations: 0.5131 MB / 1.03 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00299/0.3104, allocations: 1.51 MB / 1.031 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.3106, allocations: 211.2 kB / 1.031 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004129/0.311, allocations: 259.8 kB / 1.032 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007542/0.3186, allocations: 3.878 MB / 1.035 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-05/0.3187, allocations: 3.906 kB / 1.035 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000252/0.3189, allocations: 104 kB / 1.035 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000467/0.3194, allocations: 192.9 kB / 1.036 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005817/0.3252, allocations: 3.104 MB / 1.039 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/0.3441, allocations: 13.77 MB / 1.052 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.3454, allocations: 0.7468 MB / 1.053 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007734/0.3462, allocations: 0.5218 MB / 1.053 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.3464, allocations: 93.53 kB / 1.053 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007848/0.3472, allocations: 0.5928 MB / 1.054 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=56): time 2.975e-06/0.3472, allocations: 0 / 1.054 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.02488/0.3721, allocations: 8.849 MB / 1.063 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002069/0.3724, allocations: 410.1 kB / 1.063 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.3743, allocations: 1.234 MB / 1.064 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.3745, allocations: 41.7 kB / 1.064 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.3757, allocations: 1.243 MB / 1.065 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.376, allocations: 292.1 kB / 1.066 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.3761, allocations: 28 kB / 1.066 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.3763, allocations: 373.9 kB / 1.066 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4458/0.8221, allocations: 0.7341 MB / 1.067 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.8241, allocations: 1.459 MB / 1.068 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.8269, allocations: 2.372 MB / 1.071 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/0.8269, allocations: 6.031 kB / 1.071 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008666/0.8356, allocations: 3.555 MB / 1.074 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003713/0.836, allocations: 0.8226 MB / 1.075 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.836, allocations: 28.05 kB / 1.075 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007651/0.8437, allocations: 1.426 MB / 1.076 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.8456, allocations: 299.1 kB / 1.077 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02362/0.8692, allocations: 10.67 MB / 1.087 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.8722, allocations: 147.4 kB / 1.087 GB, free: 72.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.8725, allocations: 76.62 kB / 1.087 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.8725, allocations: 4.125 kB / 1.087 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01143/0.884, allocations: 3.016 MB / 1.09 GB, free: 71.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.867e-05/0.8841, allocations: 23.66 kB / 1.09 GB, free: 71.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006487/0.8906, allocations: 0.94 MB / 1.091 GB, free: 71.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.8928, allocations: 343.4 kB / 1.091 GB, free: 71.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/0.9077, allocations: 5.933 MB / 1.097 GB, free: 67.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/0.9108, allocations: 119.2 kB / 1.097 GB, free: 67.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/0.9111, allocations: 83.06 kB / 1.097 GB, free: 67.2 MB / 0.6823 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.00379/0.9149, allocations: 1.106 MB / 1.098 GB, free: 66.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/0.9154, allocations: 136.5 kB / 1.099 GB, free: 66.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.9273, allocations: 2.582 MB / 1.101 GB, free: 65.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.9274, allocations: 7.375 kB / 1.101 GB, free: 65.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/0.9274, allocations: 3.469 kB / 1.101 GB, free: 65.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.9274, allocations: 4.766 kB / 1.101 GB, free: 65.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/0.9451, allocations: 5.243 MB / 1.106 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.9452, allocations: 2.812 kB / 1.106 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/0.946, allocations: 96.84 kB / 1.106 GB, free: 63.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008946/0.955, allocations: 1.319 MB / 1.108 GB, free: 63.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.9552, allocations: 14.53 kB / 1.108 GB, free: 63.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/0.9698, allocations: 10.35 MB / 1.118 GB, free: 54.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.9699, allocations: 2.844 kB / 1.118 GB, free: 54.74 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007934/0.9778, allocations: 3.58 MB / 1.121 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007582/0.9786, allocations: 319.8 kB / 1.122 GB, free: 52.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.9788, allocations: 21.56 kB / 1.122 GB, free: 52.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008553/0.9797, allocations: 84.66 kB / 1.122 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/0.98, allocations: 79.12 kB / 1.122 GB, free: 52.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.9801, allocations: 20.75 kB / 1.122 GB, free: 52.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001193/0.9813, allocations: 0.8259 MB / 1.123 GB, free: 51.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9813, allocations: 0 / 1.123 GB, free: 51.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004058/0.9853, allocations: 0.8888 MB / 1.123 GB, free: 51.77 MB / 0.6823 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.0002506/0.9856, allocations: 140.5 kB / 1.124 GB, free: 51.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008369/0.994, allocations: 4.422 MB / 1.128 GB, free: 48.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.994, allocations: 0.9375 kB / 1.128 GB, free: 48.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002811/0.9968, allocations: 1.606 MB / 1.129 GB, free: 47.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.9988, allocations: 347.3 kB / 1.13 GB, free: 47.63 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006561/1.005, allocations: 5.06 MB / 1.135 GB, free: 44 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.007, allocations: 2.022 MB / 1.137 GB, free: 41.94 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001748/1.009, allocations: 0.652 MB / 1.137 GB, free: 41.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/1.009, allocations: 83.42 kB / 1.137 GB, free: 41.2 MB / 0.6823 GB Notification: Performance of SimCode: time 7.62e-07/1.009, allocations: 0 / 1.137 GB, free: 41.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.04312/1.052, allocations: 29.38 MB / 1.166 GB, free: 12.14 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)