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.381/1.381, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009866/0.0009868, allocations: 170.5 kB / 326.5 MB, free: 2.676 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.731/1.731, allocations: 205 MB / 0.5767 GB, free: 20.99 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.0007611/0.0007611, allocations: 87.09 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002883, allocations: 8.781 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1641, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.0147/0.1789, allocations: 18.75 MB / 0.9151 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.19, allocations: 9.729 MB / 0.9246 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.1916, allocations: 59.75 kB / 0.9246 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003295/0.1949, allocations: 1.541 MB / 0.9261 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.1978, allocations: 1.228 MB / 0.9273 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.2006, allocations: 1.394 MB / 0.9287 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003582/0.2042, allocations: 5.757 MB / 0.9343 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005534/0.2098, allocations: 5.806 MB / 0.94 GB, free: 23.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.2114, allocations: 1.351 MB / 0.9413 GB, free: 22.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.2129, allocations: 1.693 MB / 0.943 GB, free: 20.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.2131, allocations: 152 kB / 0.9431 GB, free: 20.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009693/0.2141, allocations: 0.5694 MB / 0.9437 GB, free: 19.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006803/0.2148, allocations: 1.161 MB / 0.9448 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008424/0.2157, allocations: 1.263 MB / 0.946 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.2184, allocations: 5.124 MB / 0.951 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2185, allocations: 0 / 0.951 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2185, allocations: 0 / 0.951 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.228e-05/0.2185, allocations: 3.938 kB / 0.951 GB, free: 12.36 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.003307/0.2218, allocations: 2.4 MB / 0.9534 GB, free: 9.883 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2219, allocations: 8.031 kB / 0.9534 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.2242, allocations: 0.5131 MB / 0.9539 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.2261, allocations: 1.506 MB / 0.9554 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.2263, allocations: 223.2 kB / 0.9556 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/0.2266, allocations: 247.8 kB / 0.9558 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004704/0.2313, allocations: 3.901 MB / 0.9596 GB, free: 3.363 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.2313, allocations: 0 / 0.9596 GB, free: 3.363 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.2315, allocations: 108 kB / 0.9597 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003541/0.2319, allocations: 184.9 kB / 0.9599 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/0.2357, allocations: 3.131 MB / 0.963 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/0.2512, allocations: 13.77 MB / 0.9764 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.2526, allocations: 0.7391 MB / 0.9771 GB, free: 280 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007711/0.2533, allocations: 0.5219 MB / 0.9776 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.2536, allocations: 93.52 kB / 0.9777 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000748/0.2543, allocations: 0.5929 MB / 0.9783 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=56): time 2.685e-06/0.2543, allocations: 0 / 0.9783 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.02398/0.2783, allocations: 8.857 MB / 0.987 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.2785, allocations: 398.2 kB / 0.9873 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.28, allocations: 1.25 MB / 0.9886 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.96e-05/0.2801, allocations: 37.7 kB / 0.9886 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008683/0.2809, allocations: 1.254 MB / 0.9898 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.2812, allocations: 284.2 kB / 0.9901 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.2814, allocations: 125.7 kB / 0.9902 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.2815, allocations: 309 kB / 0.9905 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.2825, allocations: 0.7495 MB / 0.9912 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.2841, allocations: 1.461 MB / 0.9927 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002717/0.2868, allocations: 2.39 MB / 0.995 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.2868, allocations: 4 kB / 0.995 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008053/0.2949, allocations: 3.571 MB / 0.9985 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000547/0.2954, allocations: 0.8181 MB / 0.9993 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.2955, allocations: 24 kB / 0.9993 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005632/0.3011, allocations: 1.427 MB / 1.001 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.3022, allocations: 299.5 kB / 1.001 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/0.3166, allocations: 10.7 MB / 1.011 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.3182, allocations: 147.4 kB / 1.012 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.3184, allocations: 83.94 kB / 1.012 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.423e-06/0.3184, allocations: 4 kB / 1.012 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006523/0.3249, allocations: 3.027 MB / 1.015 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/0.325, allocations: 24 kB / 1.015 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/0.3287, allocations: 0.9309 MB / 1.016 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.3298, allocations: 339.4 kB / 1.016 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008476/0.3383, allocations: 5.942 MB / 1.022 GB, free: 376 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.3397, allocations: 123.8 kB / 1.022 GB, free: 252 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.3399, allocations: 79.98 kB / 1.022 GB, free: 172 kB / 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.001479/0.3414, allocations: 1.111 MB / 1.023 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.3416, allocations: 142.3 kB / 1.023 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006546/0.3482, allocations: 2.585 MB / 1.026 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3482, allocations: 3.984 kB / 1.026 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3482, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/0.3488, allocations: 323.4 kB / 1.026 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.349, allocations: 12 kB / 1.026 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007643/0.3498, allocations: 83.89 kB / 1.026 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.35, allocations: 80.42 kB / 1.026 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005253/0.3553, allocations: 2.537 MB / 1.029 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002775/0.3581, allocations: 2.323 MB / 1.031 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007941/0.3589, allocations: 0.6486 MB / 1.031 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001048/0.3599, allocations: 0.8384 MB / 1.032 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of Backend: time 3.21e-07/0.3599, allocations: 0 / 1.032 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008723/0.3687, allocations: 4.21 MB / 1.036 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of SimCode: time 0.009839/0.3785, allocations: 5.806 MB / 1.042 GB, free: 11.15 MB / 0.698 GB Notification: Performance of Templates: time 0.3823/0.7608, allocations: 34.94 MB / 1.076 GB, free: 136 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)