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.473/1.473, allocations: 252 MB / 267.6 MB, free: 10.91 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.001335/0.001335, allocations: 178.9 kB / 327.3 MB, free: 2.203 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.033/2.033, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.000829/0.000829, allocations: 86.31 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003189, allocations: 9.359 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2069, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.0155/0.2225, allocations: 17.43 MB / 0.9179 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.2348, allocations: 9.122 MB / 0.9268 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.237, allocations: 55.75 kB / 0.9268 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.2385, allocations: 349.4 kB / 0.9272 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.2422, allocations: 1.103 MB / 0.9282 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.2445, allocations: 0.688 MB / 0.9289 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00452/0.2491, allocations: 4.489 MB / 0.9333 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007649/0.2567, allocations: 5.569 MB / 0.9387 GB, free: 24.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.2592, allocations: 1.308 MB / 0.94 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002553/0.2618, allocations: 1.631 MB / 0.9416 GB, free: 21.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007203/0.2625, allocations: 152 kB / 0.9417 GB, free: 21.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.2641, allocations: 355.6 kB / 0.9421 GB, free: 21.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.2656, allocations: 1.157 MB / 0.9432 GB, free: 20.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.2667, allocations: 0.5239 MB / 0.9437 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003961/0.2707, allocations: 4.488 MB / 0.9481 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2707, allocations: 0 / 0.9481 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2707, allocations: 0 / 0.9481 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001978/0.2709, allocations: 0 / 0.9481 GB, free: 15.3 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.005601/0.2765, allocations: 2.427 MB / 0.9505 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.2766, allocations: 8.031 kB / 0.9505 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002889/0.2795, allocations: 0.516 MB / 0.951 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.2823, allocations: 1.478 MB / 0.9524 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.2824, allocations: 210.6 kB / 0.9526 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/0.2828, allocations: 243.9 kB / 0.9529 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006172/0.289, allocations: 3.89 MB / 0.9567 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.289, allocations: 0 / 0.9567 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/0.2893, allocations: 104 kB / 0.9568 GB, free: 6.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004093/0.2897, allocations: 181 kB / 0.9569 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004579/0.2943, allocations: 3.111 MB / 0.96 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.3131, allocations: 13.78 MB / 0.9734 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.3145, allocations: 0.7464 MB / 0.9742 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008446/0.3154, allocations: 0.518 MB / 0.9747 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.3156, allocations: 89.53 kB / 0.9748 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009088/0.3166, allocations: 0.5969 MB / 0.9753 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=56): time 4.718e-06/0.3166, allocations: 0 / 0.9753 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78): time 0.02729/0.3439, allocations: 8.839 MB / 0.984 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000233/0.3442, allocations: 402.2 kB / 0.9844 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.3465, allocations: 1.234 MB / 0.9856 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.3466, allocations: 45.7 kB / 0.9856 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.3481, allocations: 1.254 MB / 0.9868 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004314/0.3486, allocations: 272.3 kB / 0.9871 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.3487, allocations: 32 kB / 0.9871 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002395/0.349, allocations: 365.9 kB / 0.9875 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.3504, allocations: 0.7534 MB / 0.9882 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.3525, allocations: 1.449 MB / 0.9896 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.3544, allocations: 1.103 MB / 0.9907 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.202e-05/0.3545, allocations: 11.95 kB / 0.9907 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.009665/0.3641, allocations: 3.551 MB / 0.9942 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008481/0.365, allocations: 0.8222 MB / 0.995 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-05/0.3651, allocations: 24 kB / 0.995 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00608/0.3712, allocations: 1.423 MB / 0.9964 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.3725, allocations: 303.5 kB / 0.9967 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/0.3918, allocations: 10.67 MB / 1.007 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/0.3951, allocations: 147.5 kB / 1.007 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005164/0.3956, allocations: 80 kB / 1.007 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3957, allocations: 4 kB / 1.007 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01436/0.4101, allocations: 3.023 MB / 1.01 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/0.4103, allocations: 24 kB / 1.01 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007668/0.418, allocations: 0.9421 MB / 1.011 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/0.4208, allocations: 331.5 kB / 1.012 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/0.4382, allocations: 5.931 MB / 1.017 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/0.4413, allocations: 131.7 kB / 1.017 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005056/0.4419, allocations: 83.98 kB / 1.018 GB, free: 4.895 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.003756/0.4457, allocations: 1.103 MB / 1.019 GB, free: 3.773 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006257/0.4463, allocations: 138.5 kB / 1.019 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.46, allocations: 2.574 MB / 1.021 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/0.46, allocations: 11.98 kB / 1.021 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.556e-05/0.4601, allocations: 4 kB / 1.021 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.315e-05/0.4601, allocations: 11.97 kB / 1.021 GB, free: 1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02101/0.4812, allocations: 5.23 MB / 1.026 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.4812, allocations: 4 kB / 1.026 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008767/0.4821, allocations: 103.8 kB / 1.026 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01054/0.4927, allocations: 1.318 MB / 1.028 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/0.493, allocations: 16 kB / 1.028 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02502/0.518, allocations: 10.36 MB / 1.038 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.5181, allocations: 0 / 1.038 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/0.5328, allocations: 3.576 MB / 1.041 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.5341, allocations: 319.4 kB / 1.042 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/0.5344, allocations: 20.06 kB / 1.042 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.5361, allocations: 91.88 kB / 1.042 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004628/0.5366, allocations: 76.36 kB / 1.042 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.5368, allocations: 20 kB / 1.042 GB, free: 11.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002083/0.5388, allocations: 0.8268 MB / 1.043 GB, free: 10.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5389, allocations: 4 kB / 1.043 GB, free: 10.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005615/0.5445, allocations: 0.8906 MB / 1.044 GB, free: 9.402 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 (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.0003929/0.5449, allocations: 137.5 kB / 1.044 GB, free: 9.258 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01619/0.5611, allocations: 4.42 MB / 1.048 GB, free: 4.719 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.5612, allocations: 0 / 1.048 GB, free: 4.719 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006146/0.5674, allocations: 1.599 MB / 1.05 GB, free: 3.055 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/0.571, allocations: 350.9 kB / 1.05 GB, free: 2.715 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4522/1.023, allocations: 5.437 MB / 1.055 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/1.025, allocations: 2.062 MB / 1.057 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/1.026, allocations: 91.5 kB / 1.057 GB, free: 135.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/1.026, allocations: 2.875 kB / 1.057 GB, free: 135.1 MB / 0.698 GB Notification: Performance of Templates: time 0.08078/1.106, allocations: 80.35 MB / 1.136 GB, free: 76.12 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)