Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008949, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009533/0.0009534, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005757/0.0005757, allocations: 15.44 kB / 0.6735 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2344, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01852/0.253, allocations: 16.91 MB / 0.8036 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.2667, allocations: 8.925 MB / 0.8123 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.2684, allocations: 51.75 kB / 0.8124 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.2695, allocations: 429.4 kB / 0.8128 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.2732, allocations: 1.246 MB / 0.814 GB, free: 368 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.2759, allocations: 0.9067 MB / 0.8149 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00306/0.279, allocations: 1.942 MB / 0.8168 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007289/0.2863, allocations: 5.578 MB / 0.8222 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.2881, allocations: 1.133 MB / 0.8234 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.2897, allocations: 1.11 MB / 0.8244 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.29, allocations: 152 kB / 0.8246 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009029/0.2909, allocations: 339.7 kB / 0.8249 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009785/0.2919, allocations: 1.072 MB / 0.826 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005652/0.2924, allocations: 0.5277 MB / 0.8265 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.2964, allocations: 4.469 MB / 0.8308 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2965, allocations: 4 kB / 0.8308 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2965, allocations: 0 / 0.8308 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.871e-05/0.2965, allocations: 4 kB / 0.8308 GB, free: 15.03 MB / 0.6544 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.004388/0.3009, allocations: 2.415 MB / 0.8332 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.301, allocations: 8.031 kB / 0.8332 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/0.3036, allocations: 0.5394 MB / 0.8337 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.3065, allocations: 1.474 MB / 0.8352 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.3067, allocations: 218.6 kB / 0.8354 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003668/0.307, allocations: 240 kB / 0.8356 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006211/0.3133, allocations: 3.858 MB / 0.8394 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-05/0.3134, allocations: 11.89 kB / 0.8394 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003783/0.3138, allocations: 104 kB / 0.8395 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004551/0.3142, allocations: 181 kB / 0.8397 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004772/0.319, allocations: 3.115 MB / 0.8427 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.3366, allocations: 13.78 MB / 0.8562 GB, free: 3.742 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.3379, allocations: 0.7543 MB / 0.8569 GB, free: 2.984 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.3381, allocations: 97.47 kB / 0.857 GB, free: 2.871 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007552/0.3389, allocations: 0.593 MB / 0.8576 GB, free: 2.223 MB / 0.67 GB Notification: Performance of pre-optimization done (n=56): time 2.084e-06/0.3389, allocations: 0 / 0.8576 GB, free: 2.223 MB / 0.67 GB Notification: Performance of matching and sorting (n=78): time 0.02327/0.3621, allocations: 8.943 MB / 0.8663 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/0.3624, allocations: 406.1 kB / 0.8667 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.364, allocations: 1.238 MB / 0.8679 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-05/0.3641, allocations: 45.64 kB / 0.8679 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009612/0.365, allocations: 1.251 MB / 0.8692 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.3653, allocations: 284.1 kB / 0.8694 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.3654, allocations: 28 kB / 0.8695 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3656, allocations: 369.9 kB / 0.8698 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.3666, allocations: 0.7534 MB / 0.8706 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.3682, allocations: 1.449 MB / 0.872 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.3696, allocations: 1.107 MB / 0.873 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.3696, allocations: 8 kB / 0.8731 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007845/0.3775, allocations: 3.555 MB / 0.8765 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.003506/0.381, allocations: 9.191 MB / 0.8855 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/0.3811, allocations: 20 kB / 0.8855 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005588/0.3867, allocations: 1.423 MB / 0.8869 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.3879, allocations: 307.4 kB / 0.8872 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.4024, allocations: 11 MB / 0.8979 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.4041, allocations: 143.5 kB / 0.8981 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.4042, allocations: 79.98 kB / 0.8982 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.4042, allocations: 4 kB / 0.8982 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006362/0.4106, allocations: 3.019 MB / 0.9011 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.198e-05/0.4107, allocations: 24 kB / 0.9011 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003531/0.4142, allocations: 0.9389 MB / 0.9021 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.4154, allocations: 339.4 kB / 0.9024 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008609/0.424, allocations: 6.098 MB / 0.9083 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.4256, allocations: 119.8 kB / 0.9084 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.4257, allocations: 83.98 kB / 0.9085 GB, free: 11.76 MB / 0.7325 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.001602/0.4273, allocations: 1.111 MB / 0.9096 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.4275, allocations: 138.4 kB / 0.9097 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006641/0.4342, allocations: 2.586 MB / 0.9123 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.4342, allocations: 11.98 kB / 0.9123 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4342, allocations: 7.953 kB / 0.9123 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4342, allocations: 3.984 kB / 0.9123 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009941/0.4442, allocations: 5.116 MB / 0.9173 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4442, allocations: 96 / 0.9173 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.4446, allocations: 108.1 kB / 0.9174 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004999/0.4496, allocations: 1.327 MB / 0.9187 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.899e-05/0.4497, allocations: 20 kB / 0.9187 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4167/0.8664, allocations: 10.64 MB / 0.9291 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.8664, allocations: 6.031 kB / 0.9291 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007366/0.8738, allocations: 3.699 MB / 0.9327 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007178/0.8746, allocations: 322.6 kB / 0.933 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.8747, allocations: 21.25 kB / 0.933 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008264/0.8756, allocations: 81.38 kB / 0.9331 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/0.8759, allocations: 80.91 kB / 0.9332 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.8759, allocations: 26.67 kB / 0.9332 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001038/0.877, allocations: 0.8201 MB / 0.934 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.877, allocations: 0 / 0.934 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002814/0.8798, allocations: 0.9018 MB / 0.9349 GB, free: 117.2 MB / 0.7325 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.0002334/0.8801, allocations: 133 kB / 0.935 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008646/0.8887, allocations: 4.431 MB / 0.9394 GB, free: 115 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.8888, allocations: 0.9688 kB / 0.9394 GB, free: 115 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003542/0.8923, allocations: 1.6 MB / 0.9409 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.8944, allocations: 344.3 kB / 0.9412 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.9055, allocations: 5.049 MB / 0.9462 GB, free: 111.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00321/0.9088, allocations: 2.06 MB / 0.9482 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002659/0.9115, allocations: 0.672 MB / 0.9488 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.9117, allocations: 83.19 kB / 0.9489 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.233e-06/0.9117, allocations: 3.938 kB / 0.9489 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.04211/0.9538, allocations: 29.33 MB / 0.9776 GB, free: 94.47 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1) Environment - environmentSimulation: