Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.289/2.289, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 180.9 kB / 326.3 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.418/2.418, allocations: 205.4 MB / 0.5772 GB, free: 21.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009038/0.0009032, allocations: 94.58 kB / 0.6817 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007372/0.0007376, allocations: 12.16 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2096, allocations: 106.3 MB / 0.8995 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02464/0.2343, allocations: 17.44 MB / 0.9165 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01773/0.2521, allocations: 9.11 MB / 0.9254 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.2542, allocations: 59.75 kB / 0.9255 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.2557, allocations: 345.4 kB / 0.9258 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004182/0.2599, allocations: 1.113 MB / 0.9269 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.263, allocations: 0.6779 MB / 0.9276 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006193/0.2692, allocations: 4.514 MB / 0.932 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01171/0.281, allocations: 5.854 MB / 0.9377 GB, free: 26.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.284, allocations: 1.324 MB / 0.939 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003339/0.2874, allocations: 1.624 MB / 0.9406 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007559/0.2882, allocations: 152 kB / 0.9407 GB, free: 23.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.29, allocations: 359.6 kB / 0.9411 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001859/0.2919, allocations: 1.15 MB / 0.9422 GB, free: 22.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.293, allocations: 0.5278 MB / 0.9427 GB, free: 21.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005632/0.2987, allocations: 4.488 MB / 0.9471 GB, free: 17.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2987, allocations: 0 / 0.9471 GB, free: 17.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.928e-06/0.2988, allocations: 4 kB / 0.9471 GB, free: 17.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001583/0.2989, allocations: 0 / 0.9471 GB, free: 17.13 MB / 0.6042 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.007479/0.3064, allocations: 2.412 MB / 0.9494 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.3065, allocations: 8.031 kB / 0.9494 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/0.3109, allocations: 0.5246 MB / 0.95 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.3154, allocations: 1.472 MB / 0.9514 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.3157, allocations: 219.2 kB / 0.9516 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009927/0.3167, allocations: 247.8 kB / 0.9518 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/0.3291, allocations: 3.882 MB / 0.9556 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002006/0.3294, allocations: 3.984 kB / 0.9556 GB, free: 8.168 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001421/0.3308, allocations: 112 kB / 0.9557 GB, free: 8.059 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001371/0.3322, allocations: 184.9 kB / 0.9559 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.3444, allocations: 3.111 MB / 0.959 GB, free: 4.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02849/0.373, allocations: 13.77 MB / 0.9724 GB, free: 5.84 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/0.3754, allocations: 0.7494 MB / 0.9731 GB, free: 5.086 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.3769, allocations: 0.518 MB / 0.9736 GB, free: 4.562 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.3772, allocations: 93.53 kB / 0.9737 GB, free: 4.453 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.3785, allocations: 0.5852 MB / 0.9743 GB, free: 3.816 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=56): time 5.33e-06/0.3786, allocations: 3.938 kB / 0.9743 GB, free: 3.812 MB / 0.6199 GB Notification: Performance of matching and sorting (n=78): time 0.04785/0.4264, allocations: 8.845 MB / 0.9829 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002699/0.4268, allocations: 398.2 kB / 0.9833 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.4297, allocations: 1.238 MB / 0.9845 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002263/0.4299, allocations: 37.7 kB / 0.9846 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001751/0.4317, allocations: 1.254 MB / 0.9858 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005345/0.4323, allocations: 280.2 kB / 0.9861 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.4325, allocations: 28 kB / 0.9861 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000251/0.4328, allocations: 369.9 kB / 0.9864 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/0.4351, allocations: 0.7495 MB / 0.9872 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003098/0.4382, allocations: 1.457 MB / 0.9886 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.4414, allocations: 1.103 MB / 0.9897 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-05/0.4414, allocations: 4 kB / 0.9897 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01649/0.4579, allocations: 3.555 MB / 0.9931 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009259/0.4589, allocations: 0.826 MB / 0.994 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.602e-05/0.459, allocations: 24 kB / 0.994 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0112/0.4702, allocations: 1.423 MB / 0.9954 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.4724, allocations: 299.5 kB / 0.9957 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02629/0.4988, allocations: 10.68 MB / 1.006 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.5015, allocations: 147.6 kB / 1.006 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.5018, allocations: 79.94 kB / 1.006 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5018, allocations: 4 kB / 1.006 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01265/0.5145, allocations: 3.023 MB / 1.009 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.437e-05/0.5146, allocations: 28 kB / 1.009 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007201/0.5218, allocations: 0.9382 MB / 1.01 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.5244, allocations: 331.4 kB / 1.011 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/0.5455, allocations: 5.919 MB / 1.016 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.5482, allocations: 131.7 kB / 1.016 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004312/0.5487, allocations: 87.97 kB / 1.017 GB, free: 6.719 MB / 0.6667 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.003238/0.552, allocations: 1.116 MB / 1.018 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004609/0.5525, allocations: 134.4 kB / 1.018 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/0.5652, allocations: 2.574 MB / 1.02 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.494e-05/0.5652, allocations: 7.984 kB / 1.02 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5653, allocations: 4 kB / 1.02 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.5664, allocations: 327.4 kB / 1.021 GB, free: 2.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005157/0.5669, allocations: 16 kB / 1.021 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.5687, allocations: 79.89 kB / 1.021 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004039/0.5691, allocations: 84.42 kB / 1.021 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01054/0.5797, allocations: 2.536 MB / 1.023 GB, free: 15.73 MB / 0.6824 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005446/0.5852, allocations: 2.307 MB / 1.025 GB, free: 13.4 MB / 0.6824 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001581/0.5868, allocations: 0.6329 MB / 1.026 GB, free: 12.77 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.001993/0.5888, allocations: 0.8268 MB / 1.027 GB, free: 11.94 MB / 0.6824 GB Notification: Performance of Backend: time 1.052e-06/0.5889, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.01535/0.6042, allocations: 4.128 MB / 1.031 GB, free: 7.688 MB / 0.6824 GB Notification: Performance of SimCode: time 0.01312/0.6174, allocations: 5.596 MB / 1.036 GB, free: 2.027 MB / 0.6824 GB Notification: Performance of Templates: time 0.6996/1.317, allocations: 34.19 MB / 1.07 GB, free: 137.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)