Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 166.2 kB / 24.97 MB, free: 9.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.07/1.07, allocations: 177.1 MB / 205.4 MB, free: 5.172 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.961/1.961, allocations: 389.5 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.776 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.46e-05, allocations: 3.625 kB / 0.776 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.008621/0.008636, allocations: 10.59 MB / 0.7863 GB, free: 10.82 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.007319/0.01595, allocations: 6.821 MB / 0.793 GB, free: 4.012 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005976/0.01655, allocations: 88.53 kB / 0.7931 GB, free: 3.926 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0007999/0.01735, allocations: 434.4 kB / 0.7935 GB, free: 3.5 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.01895, allocations: 1.292 MB / 0.7947 GB, free: 2.211 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.02007, allocations: 0.915 MB / 0.7956 GB, free: 1.297 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.002605/0.02267, allocations: 3.993 MB / 0.7995 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.02491, allocations: 2.825 MB / 0.8023 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.02689, allocations: 2.619 MB / 0.8049 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.02846, allocations: 1.868 MB / 0.8067 GB, free: 5.891 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0005321/0.02899, allocations: 368 kB / 0.807 GB, free: 5.531 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/0.02958, allocations: 0.4925 MB / 0.8075 GB, free: 5.039 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0008836/0.03046, allocations: 1.553 MB / 0.809 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0008379/0.0313, allocations: 1.127 MB / 0.8101 GB, free: 2.355 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.03336, allocations: 2.864 MB / 0.8129 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.03336, allocations: 0 / 0.8129 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.03336, allocations: 0 / 0.8129 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.39e-05/0.03338, allocations: 2.438 kB / 0.8129 GB, free: 15.48 MB / 0.7761 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.00266/0.03604, allocations: 2.726 MB / 0.8156 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.03608, allocations: 9.344 kB / 0.8156 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.03781, allocations: 0.7135 MB / 0.8163 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.03905, allocations: 1.142 MB / 0.8174 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.03918, allocations: 237.5 kB / 0.8176 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.03942, allocations: 256.3 kB / 0.8179 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.04155, allocations: 2.182 MB / 0.82 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.04159, allocations: 3.938 kB / 0.82 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.04176, allocations: 104.9 kB / 0.8201 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/0.04194, allocations: 153 kB / 0.8203 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009149/0.04286, allocations: 0.5955 MB / 0.8208 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006233/0.04909, allocations: 6.974 MB / 0.8277 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.04952, allocations: 351.6 kB / 0.828 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.04974, allocations: 193.2 kB / 0.8282 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.197e-05/0.04982, allocations: 20.33 kB / 0.8282 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000364/0.05018, allocations: 0.5985 MB / 0.8288 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=56): time 1.874e-06/0.05018, allocations: 0 / 0.8288 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59): time 0.003416/0.0536, allocations: 2.073 MB / 0.8308 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.05371, allocations: 406 kB / 0.8312 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/0.0546, allocations: 0.8993 MB / 0.8321 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.05464, allocations: 37.7 kB / 0.8321 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005338/0.05517, allocations: 1.151 MB / 0.8332 GB, free: 9.816 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.0553, allocations: 226.8 kB / 0.8334 GB, free: 9.594 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.05557, allocations: 272.9 kB / 0.8337 GB, free: 9.324 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.05568, allocations: 361.8 kB / 0.834 GB, free: 8.965 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.05588, allocations: 188.2 kB / 0.8342 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/0.05644, allocations: 1.122 MB / 0.8353 GB, free: 7.242 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007919/0.05723, allocations: 1.154 MB / 0.8364 GB, free: 5.777 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.05723, allocations: 8 kB / 0.8365 GB, free: 5.77 MB / 0.7917 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001397/0.05863, allocations: 1.197 MB / 0.8376 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.05867, allocations: 71.66 kB / 0.8377 GB, free: 4.453 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.05869, allocations: 24 kB / 0.8377 GB, free: 4.43 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.06033, allocations: 0.5847 MB / 0.8383 GB, free: 3.836 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.06088, allocations: 299.5 kB / 0.8386 GB, free: 3.543 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.06329, allocations: 3.122 MB / 0.8416 GB, free: 228 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/0.06378, allocations: 99.72 kB / 0.8417 GB, free: 128 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.06385, allocations: 64 kB / 0.8418 GB, free: 64 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003946/0.06425, allocations: 286.3 kB / 0.842 GB, free: 15.77 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005893/0.06484, allocations: 1.122 MB / 0.8431 GB, free: 14.25 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007548/0.06559, allocations: 1.15 MB / 0.8443 GB, free: 12.75 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.061e-06/0.0656, allocations: 4 kB / 0.8443 GB, free: 12.75 MB / 0.8074 GB Notification: Performance of matching and sorting (n=173) (initialization_lambda0): time 0.001129/0.06673, allocations: 0.9842 MB / 0.8452 GB, free: 11.73 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.06676, allocations: 75.41 kB / 0.8453 GB, free: 11.65 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.06677, allocations: 20.84 kB / 0.8453 GB, free: 11.63 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.06679, allocations: 35.94 kB / 0.8454 GB, free: 11.59 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.06742, allocations: 339.4 kB / 0.8457 GB, free: 11.26 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.06745, allocations: 47.84 kB / 0.8457 GB, free: 11.21 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.06788, allocations: 75.86 kB / 0.8458 GB, free: 11.14 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/0.06795, allocations: 75.92 kB / 0.8459 GB, free: 11.07 MB / 0.8074 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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.06814, allocations: 310.5 kB / 0.8462 GB, free: 10.75 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.06824, allocations: 107.8 kB / 0.8463 GB, free: 10.64 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009348/0.06917, allocations: 0.6324 MB / 0.8469 GB, free: 9.977 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.06918, allocations: 7.984 kB / 0.8469 GB, free: 9.969 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.06918, allocations: 0 / 0.8469 GB, free: 9.969 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.06939, allocations: 131.2 kB / 0.847 GB, free: 9.84 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/0.06947, allocations: 16 kB / 0.847 GB, free: 9.824 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.06967, allocations: 19.98 kB / 0.8471 GB, free: 9.805 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.06979, allocations: 60.31 kB / 0.8471 GB, free: 9.746 MB / 0.8074 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008387/0.07062, allocations: 0.7374 MB / 0.8478 GB, free: 8.98 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006362/0.07126, allocations: 0.9035 MB / 0.8487 GB, free: 8.043 MB / 0.8074 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001559/0.07142, allocations: 143.5 kB / 0.8489 GB, free: 7.895 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.0003232/0.07174, allocations: 423.2 kB / 0.8493 GB, free: 7.473 MB / 0.8074 GB Notification: Performance of Backend: time 4.41e-07/0.07174, allocations: 0 / 0.8493 GB, free: 7.473 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.07377, allocations: 1.726 MB / 0.8509 GB, free: 5.656 MB / 0.8074 GB Notification: Performance of SimCode: time 0.004911/0.07868, allocations: 4.531 MB / 0.8554 GB, free: 1.039 MB / 0.8074 GB Notification: Performance of Templates: time 0.03284/0.1115, allocations: 28.65 MB / 0.8834 GB, free: 4.906 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.505211035721004]