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/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 252 MB / 268 MB, free: 10.87 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.0009698/0.0009698, allocations: 170.6 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0006915/0.0006915, allocations: 87.55 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002917, allocations: 8.938 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1795, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01445/0.194, allocations: 18.47 MB / 0.9195 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.2051, allocations: 9.605 MB / 0.9289 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.2066, allocations: 59.75 kB / 0.9289 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008036/0.2074, allocations: 353.4 kB / 0.9293 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.2103, allocations: 1.232 MB / 0.9305 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.2124, allocations: 0.9109 MB / 0.9314 GB, free: 32.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004514/0.2169, allocations: 5.75 MB / 0.937 GB, free: 27.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006455/0.2234, allocations: 6.437 MB / 0.9433 GB, free: 20.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.2251, allocations: 1.339 MB / 0.9446 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.2267, allocations: 1.693 MB / 0.9462 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.227, allocations: 152 kB / 0.9464 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.228, allocations: 0.5733 MB / 0.9469 GB, free: 16.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007335/0.2287, allocations: 1.157 MB / 0.9481 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009065/0.2296, allocations: 1.285 MB / 0.9493 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.2321, allocations: 4.5 MB / 0.9537 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2321, allocations: 0 / 0.9537 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2321, allocations: 0 / 0.9537 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.224e-05/0.2322, allocations: 0 / 0.9537 GB, free: 9.742 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.003417/0.2356, allocations: 2.402 MB / 0.9561 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2357, allocations: 12.03 kB / 0.9561 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/0.238, allocations: 0.5092 MB / 0.9566 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/0.24, allocations: 1.514 MB / 0.958 GB, free: 5.188 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.2402, allocations: 207.2 kB / 0.9582 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/0.2405, allocations: 251.8 kB / 0.9585 GB, free: 4.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004612/0.2451, allocations: 3.905 MB / 0.9623 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/0.2451, allocations: 3.984 kB / 0.9623 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.2454, allocations: 100 kB / 0.9624 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003905/0.2458, allocations: 185 kB / 0.9626 GB, free: 476 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004856/0.2506, allocations: 3.127 MB / 0.9656 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.2656, allocations: 13.78 MB / 0.9791 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.2668, allocations: 0.743 MB / 0.9798 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007191/0.2676, allocations: 0.518 MB / 0.9803 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.2678, allocations: 97.53 kB / 0.9804 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007558/0.2685, allocations: 0.5929 MB / 0.981 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=56): time 2.796e-06/0.2686, allocations: 0 / 0.981 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.02421/0.2928, allocations: 8.851 MB / 0.9896 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.293, allocations: 402.2 kB / 0.99 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.2945, allocations: 1.246 MB / 0.9912 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/0.2946, allocations: 41.7 kB / 0.9913 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008972/0.2955, allocations: 1.251 MB / 0.9925 GB, free: 284 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.2957, allocations: 288.2 kB / 0.9928 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.2958, allocations: 28 kB / 0.9928 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.296, allocations: 369.9 kB / 0.9931 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.297, allocations: 0.7534 MB / 0.9939 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.2984, allocations: 1.457 MB / 0.9953 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/0.301, allocations: 2.386 MB / 0.9976 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.301, allocations: 8 kB / 0.9976 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007941/0.309, allocations: 3.563 MB / 1.001 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004883/0.3095, allocations: 0.8257 MB / 1.002 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.3095, allocations: 20 kB / 1.002 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005819/0.3153, allocations: 1.427 MB / 1.003 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.3165, allocations: 303.4 kB / 1.004 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/0.3304, allocations: 10.68 MB / 1.014 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.332, allocations: 155.4 kB / 1.014 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.3322, allocations: 80.48 kB / 1.014 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.3322, allocations: 6.656 kB / 1.014 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006439/0.3386, allocations: 3.03 MB / 1.017 GB, free: 5.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/0.3387, allocations: 24 kB / 1.017 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003775/0.3425, allocations: 0.9381 MB / 1.018 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.3437, allocations: 339.4 kB / 1.019 GB, free: 4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00846/0.3522, allocations: 5.923 MB / 1.024 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.3537, allocations: 119.8 kB / 1.024 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.3538, allocations: 83.98 kB / 1.024 GB, free: 13.61 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001591/0.3554, allocations: 1.114 MB / 1.026 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.3556, allocations: 138.3 kB / 1.026 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006637/0.3623, allocations: 2.582 MB / 1.028 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.3623, allocations: 12 kB / 1.028 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3623, allocations: 8.078 kB / 1.028 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.3623, allocations: 15.86 kB / 1.028 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009822/0.3722, allocations: 5.237 MB / 1.033 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.3722, allocations: 4.281 kB / 1.033 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.3726, allocations: 103.9 kB / 1.033 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005169/0.3778, allocations: 1.318 MB / 1.035 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-05/0.3779, allocations: 19.94 kB / 1.035 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/0.3908, allocations: 10.35 MB / 1.045 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3908, allocations: 3.938 kB / 1.045 GB, free: 7.977 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007572/0.3984, allocations: 3.588 MB / 1.048 GB, free: 4.332 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006524/0.3991, allocations: 323.4 kB / 1.049 GB, free: 3.996 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.3993, allocations: 20 kB / 1.049 GB, free: 3.977 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008868/0.4001, allocations: 83.88 kB / 1.049 GB, free: 3.895 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.4004, allocations: 76.34 kB / 1.049 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/0.4005, allocations: 24.06 kB / 1.049 GB, free: 3.797 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001096/0.4016, allocations: 0.8385 MB / 1.05 GB, free: 2.953 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4016, allocations: 0 / 1.05 GB, free: 2.953 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002668/0.4043, allocations: 0.8906 MB / 1.051 GB, free: 2.062 MB / 0.698 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00022/0.4045, allocations: 132.5 kB / 1.051 GB, free: 1.926 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.3335/0.738, allocations: 4.431 MB / 1.055 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.738, allocations: 1.031 kB / 1.055 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00293/0.741, allocations: 1.596 MB / 1.057 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.743, allocations: 354.5 kB / 1.057 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007241/0.7503, allocations: 5.673 MB / 1.062 GB, free: 135.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/0.7525, allocations: 2.067 MB / 1.065 GB, free: 134.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.7529, allocations: 91.77 kB / 1.065 GB, free: 134.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.004e-06/0.7529, allocations: 1.859 kB / 1.065 GB, free: 134.9 MB / 0.698 GB Notification: Performance of Templates: time 0.06867/0.8216, allocations: 80.25 MB / 1.143 GB, free: 71.67 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (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)