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.312/1.312, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0009812/0.0009812, allocations: 176.6 kB / 326.5 MB, free: 2.719 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.526/1.526, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007584/0.0007586, allocations: 82.36 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 9.844 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1842, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01518/0.1994, allocations: 18.75 MB / 0.9151 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01147/0.2109, allocations: 9.733 MB / 0.9246 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.2127, allocations: 63.75 kB / 0.9246 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003465/0.2162, allocations: 1.539 MB / 0.9261 GB, free: 38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.2203, allocations: 1.221 MB / 0.9273 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.2239, allocations: 1.41 MB / 0.9287 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004948/0.2288, allocations: 5.742 MB / 0.9343 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006757/0.2356, allocations: 5.817 MB / 0.94 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.2378, allocations: 1.347 MB / 0.9413 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.2397, allocations: 1.686 MB / 0.9429 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.24, allocations: 152 kB / 0.9431 GB, free: 20.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.2411, allocations: 0.5733 MB / 0.9437 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008858/0.242, allocations: 1.15 MB / 0.9448 GB, free: 18.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.2432, allocations: 1.271 MB / 0.946 GB, free: 17.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003047/0.2463, allocations: 4.5 MB / 0.9504 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2463, allocations: 4 kB / 0.9504 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2463, allocations: 0 / 0.9504 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001418/0.2465, allocations: 0 / 0.9504 GB, free: 13.02 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.00446/0.251, allocations: 2.388 MB / 0.9527 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.251, allocations: 8.031 kB / 0.9528 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/0.2538, allocations: 0.517 MB / 0.9533 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.2564, allocations: 1.506 MB / 0.9547 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.2566, allocations: 223.1 kB / 0.9549 GB, free: 8.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000504/0.2571, allocations: 247.8 kB / 0.9552 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006078/0.2632, allocations: 3.898 MB / 0.959 GB, free: 4.035 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.253e-05/0.2633, allocations: 11.91 kB / 0.959 GB, free: 4.023 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/0.2635, allocations: 112 kB / 0.9591 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003883/0.2639, allocations: 181 kB / 0.9593 GB, free: 3.734 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004625/0.2686, allocations: 3.131 MB / 0.9623 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/0.2858, allocations: 13.77 MB / 0.9758 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.2871, allocations: 0.743 MB / 0.9765 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007203/0.2879, allocations: 0.5219 MB / 0.977 GB, free: 412 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.288, allocations: 89.53 kB / 0.9771 GB, free: 304 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007673/0.2888, allocations: 0.5929 MB / 0.9777 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=56): time 2.745e-06/0.2888, allocations: 0 / 0.9777 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.02598/0.3148, allocations: 8.852 MB / 0.9863 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/0.315, allocations: 402.2 kB / 0.9867 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.3167, allocations: 1.25 MB / 0.9879 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.3168, allocations: 37.7 kB / 0.988 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.3179, allocations: 1.258 MB / 0.9892 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.3182, allocations: 280.2 kB / 0.9895 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.3184, allocations: 121.7 kB / 0.9896 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.3185, allocations: 305.1 kB / 0.9899 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.3196, allocations: 0.7534 MB / 0.9906 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.3211, allocations: 1.457 MB / 0.992 GB, free: 312 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/0.3239, allocations: 2.386 MB / 0.9944 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.3239, allocations: 8 kB / 0.9944 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008347/0.3323, allocations: 3.571 MB / 0.9979 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006346/0.3329, allocations: 0.8299 MB / 0.9987 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.333, allocations: 24 kB / 0.9987 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005661/0.3386, allocations: 1.427 MB / 1 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.3397, allocations: 299.5 kB / 1 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.3542, allocations: 10.69 MB / 1.011 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.356, allocations: 155.4 kB / 1.011 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.3562, allocations: 76 kB / 1.011 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3562, allocations: 4 kB / 1.011 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006681/0.3629, allocations: 3.034 MB / 1.014 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.404e-05/0.363, allocations: 24.08 kB / 1.014 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/0.3667, allocations: 0.9342 MB / 1.015 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.3679, allocations: 331.5 kB / 1.015 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008332/0.3762, allocations: 5.942 MB / 1.021 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.3777, allocations: 123.8 kB / 1.021 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.3778, allocations: 83.98 kB / 1.021 GB, free: 0.8203 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 (load_ctrl.vCTRL_1.ctrl.tSwitch,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.connected,$whenCondition2,$whenCondition1) * 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.001669/0.3795, allocations: 1.114 MB / 1.022 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.3797, allocations: 138.3 kB / 1.022 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00642/0.3861, allocations: 2.574 MB / 1.025 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3862, allocations: 11.98 kB / 1.025 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.3862, allocations: 8 kB / 1.025 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3862, allocations: 11.86 kB / 1.025 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009867/0.3961, allocations: 5.245 MB / 1.03 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.3961, allocations: 0 / 1.03 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.3965, allocations: 100.1 kB / 1.03 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005116/0.4017, allocations: 1.318 MB / 1.032 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.949e-05/0.4018, allocations: 23.94 kB / 1.032 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/0.4145, allocations: 10.35 MB / 1.042 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4146, allocations: 7.875 kB / 1.042 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007424/0.422, allocations: 3.576 MB / 1.045 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/0.4227, allocations: 327.4 kB / 1.045 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/0.423, allocations: 24 kB / 1.045 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009501/0.4239, allocations: 87.88 kB / 1.046 GB, free: 7.109 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002877/0.4242, allocations: 76.33 kB / 1.046 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.4243, allocations: 24 kB / 1.046 GB, free: 7.012 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001332/0.4256, allocations: 0.8385 MB / 1.046 GB, free: 6.168 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4257, allocations: 0 / 1.046 GB, free: 6.168 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003101/0.4288, allocations: 0.8906 MB / 1.047 GB, free: 5.277 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.0002638/0.429, allocations: 123.2 kB / 1.047 GB, free: 5.148 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008183/0.4372, allocations: 4.435 MB / 1.052 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.4373, allocations: 0 / 1.052 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.3339/0.7712, allocations: 1.592 MB / 1.053 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.7733, allocations: 345.6 kB / 1.054 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.7801, allocations: 5.649 MB / 1.059 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/0.7823, allocations: 2.064 MB / 1.061 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.7827, allocations: 88.66 kB / 1.061 GB, free: 139 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.7827, allocations: 0.9375 kB / 1.061 GB, free: 139 MB / 0.698 GB Notification: Performance of Templates: time 0.06852/0.8512, allocations: 80.25 MB / 1.14 GB, free: 76.78 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)